Upgrading from v0

v0 was the React component library @derpdaderp/chartkit. v1 is a JSON spec. React, Vue, Svelte, vanilla DOM, and Node render that same object.

BeforeAfter
@derpdaderp/chartkit@chartkitdev/react for components, @chartkitdev/core for the spec
Component props such as dataKey and leftAxisA spec: version, type, data, encoding, a11y.alt
React onlyReact, Vue, Svelte, vanilla, and renderToString
shell
npm uninstall @derpdaderp/chartkit
npm install @chartkitdev/react @chartkitdev/core

@chartkitdev/react still exports LineChart, KpiCard, and the other dashboard components. Their props are not spec keys. New charts pass spec to Chart. @derpdaderp/chartkit remains a compatibility shim for existing imports.

From another library: Chart.js, Recharts, ECharts.