4 ms·
You know what's even easier than d3? Raw SVG elements. They're pretty powerful and the documentation is pretty good. There's no reason to avoid using it directl
by forrestthewoods 10y ago
You know what's even easier than d3? Raw SVG elements. They're pretty powerful and the documentation is pretty good. There's no reason to avoid using it directly.
- bpizzi 10y agoI've got to the same conclusion the last time I had to build some graph not quite standard. I first tried to grok d3, got lost in the sea of the possibility before finally resorted to putting svg rect at computed (x,y).
- forrestthewoods 10y agoD3 is, like all chart libs, great if it had exactly what you need. But if you tread of the beaten path it's best to roll your own imo. Keep in mind, D3 isn't a graphing library. It's a data binding library.
- an_ko 10y agoTrue for simple use-cases, but animation, updates, object constancy, and axes are really tricky to get right without D3.