I use D3 to render several hundred svg elements. However, only a few of them are visible at the same time in the viewport.
So, I thought that maybe I could improve performance by deleting those elements that are off the screen and recreate them when they scroll back to the view.
Is that a reasonable guess?
Are there any tools for such a thing?
source
share