What problem does it solve?
This Skill helps you write correct, idiomatic SveltePlot chart components so your Svelte 5 visualizations render reliably and follow the intended grammar-of-graphics structure.
Core Features & Use Cases
- Idiomatic SveltePlot composition: Build
<Plot> views using marks and transforms with predictable data → encoding → render flow.
- Correct mark usage and channel accessors: Apply field-name strings, accessor functions, constants, and transform-spread patterns so channels map to scales correctly.
- Practical patterns for real apps: Set up common chart types (line, scatter, histogram, heatmap, geo) and interactive behaviors (tooltips, pointer crosshairs, brushing) consistent with SveltePlot’s APIs.
- Maintainability guardrails: Reminds you to import marks explicitly and to check SveltePlot alpha/API changes against installed versions.
Quick Start
Use the svelteplot skill while implementing or reviewing a Svelte component that renders a chart, and ensure you import the needed marks from svelteplot and spread transform outputs into mark props.