First created in 2011, D3 was designed to provide a perfomant library to create visualizations for data. Since that time, it's grown into one of the most popular visualization frameworks of all time. Large websites such as the New York Times and the Guardian use it frequently when providing data visualizations to news stories. Much of the appeal is the speed and performance that D3 brings to the table.
To get started with D3, you can simply visit their website, http://d3js.org/, or install through bower with bower install d3. Documentation is also available at https://github.com/mbostock/d3/wiki/API-Reference. However, the best way I've found to start using D3 is to look up their huge library of examples. There are two main sites that provide D3 visualization examples (http://bl.ocks.org/mbostock and https://github.com/mbostock/d3/wiki/Gallery), and both have hundreds of graph types to choose from. My favorite example to start with is called "The Amazing Pie", and available at http://bl.ocks.org/mbostock/4341574
D3 has a similar syntax to jQuery, with d3.select(
These examples barely scratch the surface of what D3 is capable of. To learn more, I'd suggest finding examples that look interesting, and experimenting from there.
No comments :
Post a Comment