3 ms·
D3.js doesn't handle any geometry. You have to tell D3 how to position elements manually, like so: `element.attr('x', value)` Because of this, D3 might not be
by swagasaurus-rex 7y ago
D3.js doesn't handle any geometry. You have to tell D3 how to position elements manually, like so: `element.attr('x', value)`
Because of this, D3 might not be suitable for 3d work. Of course, you could do the math yourself to project 3d shapes onto the 2d plane, but you won't find those sorts of helper functions in D3.
Instead, D3 is a collection of tools to help map data to UI elements. It is up to you to use D3's tooling to generate, update, and delete UI elements.