fdd6c62050
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. |
||
---|---|---|
bin | ||
lib | ||
src | ||
test | ||
.gitignore | ||
.npmignore | ||
.travis.yml | ||
LICENSE | ||
Makefile | ||
README.md | ||
bower.json | ||
d3.js | ||
d3.min.js | ||
index-browserify.js | ||
index.js | ||
package.json |
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. D3’s 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 mbostock’s bl.ocks.