Bring data to life with SVG, Canvas and HTML. 📊📈🎉
Перейти к файлу
Mike Bostock fdd6c62050 Support both open & closed polygons.
Rather than converting closed polygons to open polygons on input (which could
potentially be destructive), tweak the polygon methods slightly so that they
work on either input.

This commit also changes d3.geom.polygon to use a prototype, much like
d3.selection, rather than creating every method as a closure. This makes it much
faster to construct a polygon.
2013-06-28 08:31:16 -07:00
bin Am I bowering rite? Fixes #1251 #1338. 2013-06-27 11:32:08 -07:00
lib Use additional precision for accumulating area. 2013-06-11 10:18:25 +01:00
src Support both open & closed polygons. 2013-06-28 08:31:16 -07:00
test Support both open & closed polygons. 2013-06-28 08:31:16 -07:00
.gitignore Add .DS_Store to .gitignore. 2011-11-03 09:06:04 -07:00
.npmignore Add .npmignore. 2011-11-18 16:52:35 -08:00
.travis.yml use node 0.10 for travis 2013-04-11 23:10:08 +08:00
LICENSE Update copyright year. 2013-03-13 11:50:05 -07:00
Makefile Am I bowering rite? Fixes #1251 #1338. 2013-06-27 11:32:08 -07:00
README.md README.md: Point hyperlinks at github explicitly 2013-01-07 06:16:37 -08:00
bower.json Am I bowering rite? Fixes #1251 #1338. 2013-06-27 11:32:08 -07:00
d3.js Support both open & closed polygons. 2013-06-28 08:31:16 -07:00
d3.min.js Support both open & closed polygons. 2013-06-28 08:31:16 -07:00
index-browserify.js Move edits to src/component.js. 2013-04-03 10:46:15 -07:00
index.js Simplify loading without globals. 2013-06-27 09:46:35 -07:00
package.json Update version. 2013-06-25 17:07:20 -07:00

README.md

Data-Driven Documents

D3.js is a JavaScript library for manipulating documents based on data. D3 helps you bring data to life using HTML, SVG and CSS. D3s emphasis on web standards gives you the full capabilities of modern browsers without tying yourself to a proprietary framework, combining powerful visualization components and a data-driven approach to DOM manipulation.

Want to learn more? See the wiki.

For examples, see the gallery and mbostocks bl.ocks.