Bring data to life with SVG, Canvas and HTML. 📊📈🎉
Перейти к файлу
Michael Bostock e4935b1bb5 Add brushing & linking to splom. 2011-02-07 09:56:05 -08:00
data Move properties.id to id. 2011-01-20 10:40:14 -08:00
examples Add brushing & linking to splom. 2011-02-07 09:56:05 -08:00
lib Move Voronoi & Delaunay code into geom module. 2010-11-07 21:09:59 -08:00
src Don't include empty arrays in d3.split. 2011-02-02 12:59:10 -08:00
.gitignore Add _site to .gitignore. 2010-10-04 20:36:36 -07:00
LICENSE Fix typo in LICENSE. 2010-10-10 10:37:07 -07:00
Makefile Scale interpolators & range rounding. 2011-01-28 13:14:43 -08:00
README.md Clarify Tornado installation instructions. 2010-12-09 14:46:45 -08:00
d3.csv.js Turn off the compiler's "advanced" optimizations. 2011-01-05 11:35:39 -08:00
d3.csv.min.js Turn off the compiler's "advanced" optimizations. 2011-01-05 11:35:39 -08:00
d3.geo.js Allow d3.geo.albersUsa to be rescaled. 2011-01-11 14:25:25 -08:00
d3.geo.min.js Allow d3.geo.albersUsa to be rescaled. 2011-01-11 14:25:25 -08:00
d3.geom.js Add d3.geom.quadtree. 2011-01-21 11:59:05 -08:00
d3.geom.min.js Add d3.geom.quadtree. 2011-01-21 11:59:05 -08:00
d3.js Don't include empty arrays in d3.split. 2011-02-02 12:59:10 -08:00
d3.layout.js Add d3.layout.stack, d3.min, d3.max. 2011-01-17 12:27:29 -08:00
d3.layout.min.js Add d3.layout.stack, d3.min, d3.max. 2011-01-17 12:27:29 -08:00
d3.min.js Don't include empty arrays in d3.split. 2011-02-02 12:59:10 -08:00
d3.time.js Turn off the compiler's "advanced" optimizations. 2011-01-05 11:35:39 -08:00
d3.time.min.js Turn off the compiler's "advanced" optimizations. 2011-01-05 11:35:39 -08:00

README.md

D3

D3 is a small, free JavaScript library for manipulating HTML documents based on data. D3 can help you quickly visualize your data as HTML or SVG, handle interactivity, and incorporate smooth transitions and staged animations into your pages. You can use D3 as a visualization framework (like Protovis), or you can use it to build dynamic pages (like jQuery).

Browser Support

D3 should work on any browser, with minimal requirements such as JavaScript and the W3C DOM API. We also require the Selectors API Level 1, but this requirement could be relaxed in the future using Sizzle.

The included D3 examples use additional browser features, such as SVG and CSS3 Transitions. These features are not required to use D3, but are useful for visualization. D3 is not a compatibility layer. The examples should work on Firefox, Chrome (Chromium), Safari (WebKit), Opera and IE9.

Chrome has strict permissions for reading files out of the local file system. To view some of the examples locally, you will need to start a local web server. One easy way to do that is to install Tornado:

cd ..
git clone https://github.com/facebook/tornado.git
cd tornado
sudo python setup.py install
cd ../d3

We have provided a Tornado script for serving static files:

python examples

Once this is running, go to: http://0.0.0.0:8888/examples/index.html