2 ms·
You don't necessarily need a million DOM elements. Data points could mean points of a single plot, in which case you have a single path element with lots of poi
by ygra 11y ago
You don't necessarily need a million DOM elements. Data points could mean points of a single plot, in which case you have a single path element with lots of points. Generally you can almost always bunch things together in a single path to reduce the number of DOM elements (with other tradeoffs, of course).