5 ms·
Obviously not a short term solution for this set of charts, but have you tried rendering this data on canvas? Looking at timeline, the framerate chokes wheneve
by bicknergseng 12y ago
Obviously not a short term solution for this set of charts, but have you tried rendering this data on canvas? Looking at timeline, the framerate chokes whenever it has to render and recalc styles for all of those svg dom elements. A shorter term solution might be something like fabric.js's svg rasterizing http://fabricjs.com/svg-caching http://fabricjs.com/svg-caching (no promises... just a thought).
I bet rendering this many points would really scream if you could use WebGL (though it would definitely be understandable if that doesn't have broad enough support for NYT).
Really awesome work though... any chance you could blog about your tricks or the making of this particular article?