build-chart-interactions

Installation
SKILL.md

Build Chart Interactions

Use trigger → inspect → decide → build → verify. Charts owns renderer-neutral interaction mechanics; the application owns accepted semantic state, persistence, product policy, and equivalent non-pointer controls.

Setup

Start with native focus and tooltip behavior before adding controlled state:

import { defineChart, lineY } from '@tanstack/charts'
import { crosshair } from '@tanstack/charts/crosshair'
import { scaleLinear } from '@tanstack/charts/scales/linear'
import { scalePoint } from '@tanstack/charts/scales/point'
import { tooltip } from '@tanstack/charts/tooltip'
Installs
5
Repository
tanstack/charts
GitHub Stars
713
First Seen
Aug 17, 2026
build-chart-interactions — tanstack/charts