← All stories
● Covered by 1 source · 1 reportMedium impact1 neutral

TanStack Charts Alpha Released with Framework-Agnostic Grammar of Graphics for TypeScript

🔄 Updated 6d ago
New to BrevFeed? We gather this story from every outlet covering it into one summary — ranked by real-world impact, not just the latest headline — so you never miss what matters. What is BrevFeed? →

Key points

  • TanStack Charts is a framework-agnostic TypeScript visualization library.
  • It uses a grammar of graphics approach, composing charts from primitives.
  • Supports React, Preact, Vue, Solid, Svelte, Angular, Lit, and vanilla DOM.
  • The implementation was largely produced with AI coding agents.

Introduction of TanStack Charts

TanStack Charts, developed by Tanner Linsley and the TanStack team, has launched its Alpha version. This new library provides a framework-agnostic visualization grammar specifically designed for TypeScript. It has already garnered approximately 160,000 weekly downloads during its Alpha phase.

Grammar of Graphics Approach

Unlike traditional charting libraries that offer a fixed catalog of chart components, TanStack Charts adopts the grammar of graphics paradigm. This allows developers to construct visualizations by composing fundamental elements such as marks, scales, channels, transforms, and layers. The API for marks and channels is similar to Observable Plot, and inferred types maintain connections to the source data shape, enabling direct data reading for each mark.

Framework Compatibility and Installation

The library renders through adapters for various frameworks, including React, Preact, Vue, Solid, Svelte, Angular, Lit, and a vanilla DOM host, functioning in both server and browser environments. Installation involves adding a single package, `@tanstack/charts`, with peer dependencies like `react` and `react-dom` for the React adapter. An experimental React Native adapter is also available.

Development Process and Features

Tanner Linsley stated that a significant portion of the library's implementation was generated by AI coding agents under his supervision, then reviewed and integrated. The Alpha release includes 11 releases, 188 examples, a shadcn chart catalog, multiple axes, polar scales, and drillable sunbursts.

Performance Considerations

While suitable for many charting needs, TanStack Charts may not be optimal for extremely large, complex datasets requiring real-time processing. Competitors suggest hardware-accelerated renderers for such workloads. The project's own documentation acknowledges that while Canvas rendering removes SVG DOM costs, it does not eliminate the work involved in scale, guide, or scene compilation for large datasets.

✨ This summary was generated by AI from the outlets' reporting listed below. It is not independently verified and may contain errors — check the original sources. How BrevFeed works →

The daily brief

One email each morning: the day's tech stories, clustered across outlets and summarized. No account needed.

One email a day. Unsubscribe in one click, any time.

Today's brief

Spend a few minutes, get the whole day. Every topic's top stories in one hands-free rundown — listen, watch, or read the transcript.

~26 min · 21 stories · Sep 23

▶ Play today's brief Listen on Spotify

New every morning, and the back catalogue is archived by date.

Reporting from

TanStack Charts, a new library from the TanStack team, has been released in Alpha, offering a framework-agnostic visualization grammar for TypeScript. It allows developers to compose charts using marks, scales, and channels, rather than predefined chart types, and supports multiple frameworks including React, Vue, and Svelte.