4 ms·
Quite the opposite. With D3 you control the structure of the DOM (hence data-driven documents) directly. Data-driven refers to the declarative method in which y
by mbostock 15y ago
Quite the opposite. With D3 you control the structure of the DOM (hence data-driven documents) directly. Data-driven refers to the declarative method in which you generate or update the document from data, not the end result. Unlike Raphaël and other graphics libraries that introduce new forms of visual representation, with D3 you use SVG, CSS and HTML.
- dkarl 15y agoThis by itself is a great selling point of d3, in my opinion. You can inspect everything about your visualization using the browser debugger, and it's easy to figure out how the objects in the DOM correspond to your code, which is a blessing. The first thing anyone should do when checking out d3 is go through a simple example and then open up the debugger and see how transparent the connection is. Also, I think a non-programming designer could understand and tweak the CSS without much guidance from a developer, using only an understanding of SVG.