prepare-chart-data

Installation
SKILL.md

Prepare Chart Data

Use trigger → inspect → decide → build → verify. Keep analytical preparation outside responsive layout and preserve the row lineage needed by tooltips, selection, tables, and drill-down.

Setup

Prepare semantic rows once, then pass them to marks:

import { groupBy, lineY, rollingWindow } from '@tanstack/charts'

interface Order {
  day: string
  region: string
  amount: number
}
Installs
5
Repository
tanstack/charts
GitHub Stars
713
First Seen
Aug 17, 2026
prepare-chart-data — tanstack/charts