For the complete documentation index, see llms.txt. Markdown variants are available by appending .md to any URL or sending an Accept: text/markdown header. An agent skill is available at /.well-known/agent-skills/site-skill.md.
/
0
Sponsor

Introduction

Copy-paste GPU chart components for React, with ChartGPU and PixiJS renderer bases.

chartcn provides beautifully designed, accessible, and customizable GPU chart components. Choose native WebGPU with ChartGPU, or PixiJS with WebGPU rendering and automatic WebGL fallback. Both bases install through the shadcn CLI.

Philosophy

chartcn follows the shadcn model for GPU charts: copy-paste components you can own, with zero lock-in and sensible defaults that work immediately.

Chart libraries are often treated as black boxes—large dependencies with rigid APIs and styling that is difficult to own. chartcn takes a different approach. ChartGPU and PixiJS share the same declarative React API, datasets, colors, layouts, and examples, while each renderer remains editable source in your project.

The goal is simple: make WebGPU charts feel like the rest of your stack—composable, themeable, accessible, and easy to customize.

Why chartcn?

Most charting setups are either too opinionated or too slow for dense, frequently updated data. chartcn is built for teams that want to ship quickly without giving up control:

  • Own Your Code: Copy the components into your project and customize every layer.
  • Start Fast: Run one command and render your first chart with production-ready defaults.
  • Choose Your Renderer: Use ChartGPU for native WebGPU, or PixiJS when you also need WebGL fallback.

Acknowledgments

chartcn would not have been possible without the work done by other meaningful projects in the community, including:

Features

Zero Config
Works out of the box with native WebGPU or automatic WebGL fallback.
Theme Aware
Automatically adapts chart colors to your light or dark theme.
Composable
Build complete charts from simple, declarative React components.
TypeScript
Full type safety for chart data, configuration, and component props.
Copy & Paste
Own your code. Install editable source directly into your project.
shadcn Compatible
Uses the registry format and installs with the shadcn CLI.