Power Tools for Powerful Visualization
summary
Explains concrete recipes: use D3 + SVG and SVG groups to get hooks and dramatically cheaper transforms (shifting a group vs updating each circle). Shows a 5,000-point scatter where per-element transforms slow frames into the 20s, while group transforms are near-instant. Recommends profiling with console.time, the Chrome frame rate meter and the timeline to find a date-parsing hotspot (moment + repeated parse makes data generation 3–4× slower than drawing). Prefer browser-native scrolling, minimize DOM churn, and use Crossfilter or pore over for big datasets.
AI-written summary · about
