Profiling an ActiveRecord query generates a flamegraph that is borderline unusable. Zooming in to the graph such that labels show slows down the page to 300ms per frame, 3FPS. The majority of time is spent in d3.js restyling and rendering.
Can zoom be implemented in a way that doesn't require expensive re-calculations whenever we want to move around the graph?

