2 ms·
Not to speak ill of d3 but it is worth checking out some of the other libraries that wrap around d3 if you just need a plain old line chart. d3's power is that
by hogFeast 7y ago
Not to speak ill of d3 but it is worth checking out some of the other libraries that wrap around d3 if you just need a plain old line chart.
d3's power is that it is very customizable and it is surprisingly easy to just think of a chart format you need and implement it (and it is very easy to update as new data comes in, you can reload individual chart elements which is very cheap).
But...that comes at the cost of all the extra code needed to build the chart. If you are just building a plain-old chart, I would look elsewhere.
I have a data-heavy application. There is some stuff that is really domain knowledge and building those charts with d3 is worth it. But for the basic line charts or whatever, I just use plotly. Yes, that means a heavier page but it is worth it to move the complexity of multiple chart types out of my code.