Graphics Reference
In-Depth Information
D3, Data, and SVG
Creating individual objects is cumbersome, particularly when you are trying
to create a lot of objects, with each one connected to data. D3 provides
methods that make it easy to create a set of graphical objects, each one
connected to a successive data item from a list of data.
The JavaScript code that you create in D3 will need data in order to draw a
graph. To accomplish this, you can do one of the following:
• Embed the data directly in the JavaScript code.
• Fetch the data from a web service.
• Load the data from a local data file such as a .csv file.
Search WWH ::




Custom Search