What problem does it solve?
SVG and DOM-based charts degrade when visualizations need tens of thousands to millions of marks, continuous updates, or fluid pan and zoom. This Skill guides the design and implementation of Canvas2D-based charts that stay fast and interactive under those workloads.
Core Features & Use Cases
- High-Density Rendering: Draw dense scatterplots, heatmaps, streaming traces, and sparkline walls with layered canvases, batched draw calls, and typed-array geometry.
- Deterministic Hit Testing: Implement clickable, hoverable, and draggable marks using spatial indexes, Path2D replay, color-picking buffers, and pointer capture.
- Hybrid Architecture: Combine Canvas marks with HTML/SVG overlays for axes, labels, tooltips, keyboard focus, and accessibility.
- Use Case: Build a million-point scatterplot with brushing and zoom, or render sparklines for every row of a large data table without exhausting backing-store memory.
Quick Start
Use the canvas2d-data-visualization skill to build a fast Canvas timeline chart with brushing and zoom for my streaming dataset.