3 ms·
D3 is very powerful and well-engineered, with well-considered abstractions that really do manage to cover virtually every imaginable visualization. But its use
by brundolf 6y ago
D3 is very powerful and well-engineered, with well-considered abstractions that really do manage to cover virtually every imaginable visualization.
But its user-facing API is hot garbage.
It's actually impressive that they've managed to come up with such an confusing and hard to track API for concepts that are themselves not fundamentally confusing. But it is what it is, it's established, it's here, so you kind of just have to bite the bullet and push through.
- peterhil 6y agoThat exactly is the reason why I switched from using D3.js to create charts to creating the SVGs in Angular (that was ten years ago...) and only using the scale and path methods of D3.js. It is real pain with D3.js to keep the code in nicely separated modules or functions.