Граф коммитов

9 Коммитов

Автор SHA1 Сообщение Дата
Mike Bostock cdffe18d38 Fix two errors in examples. 2012-04-15 14:30:52 -07:00
Kristofer Monisit 0305892a96 Bring kde example up-to-date 2012-04-07 00:17:09 +08:00
Mike Bostock 3081dd45ef Consolidate everything into d3.v2.js.
Rather than producing separate files for each module, the default build now
produces a single file. This should encourage better page-load performance as
the files were relatively small. Also, it's easier to deal with only one file
rather than many, especially if you're not quite sure what the dependencies are.
You may still create minimized builds, if you don't want every feature.

This commit also demotes the chart components to the examples directory, rather
than keeping them as part of the core library. As always, D3 is not a charting
library, and these were ever only intended to serve as examples.
2012-02-18 14:04:01 -08:00
Jason Davies 5a87998694 Examples: namespaces are optional as of v2.6.0. 2011-11-23 22:48:13 +00:00
Jason Davies f1bedbb0b0 Fix KDE example.
It should have been using a probability (density) histogram. I think
there used to be a bug in d3.layout.histogram, which is now fixed.
2011-08-26 21:29:21 +01:00
Jason Davies 2e765ae60e Move data files and delete symlinks. 2011-07-06 20:29:48 +01:00
Jason Davies e0a0455f7b Move d3.stats to external lib, science.stats.js! 2011-07-06 18:57:14 +01:00
Jason Davies 4898052101 Add bandwidth selectors for Gaussian kernels.
Thanks @jfirebaugh for the suggestion!  Implementation is based on that of R's
stats module:
<http://stat.ethz.ch/R-manual/R-patched/library/stats/html/bandwidth.html>

This brings a few additional operators to `d3.stats`, including a fairly
rudimentary implementation of variance, discussed at
<http://en.wikipedia.org/wiki/Algorithms_for_calculating_variance#Two-pass_algorithm>.
2011-05-10 19:06:24 +01:00
Jason Davies 7c533d26cc Add kernel density estimation.
Kernel density estimation is provided via `d3.stats.kde` and the kernel is
configurable; several common kernels are provided in `d3.stats.kernel`.
2011-05-10 00:11:31 +01:00