update-and-animate-charts
Installation
SKILL.md
Update and Animate Charts
Use trigger → inspect → decide → build → verify. Definition identity is the application update boundary; mark and datum identities determine what survives it.
Setup
Create a new definition only when captured data or visual policy changes, then update the host with that definition:
import { barX, defineChart, mountChart } from '@tanstack/charts'
import { scaleBand } from '@tanstack/charts/scales/band'
import { scaleLinear } from '@tanstack/charts/scales/linear'
interface Row {
id: string
label: string
value: number
}