Glean 拾遗
Daily · timeline

A few picks a day.

Tue, Sep 29, 2026 1pick
← 09-24
Calendar ▾
2026 · 09
MoTuWeThFrSaSu ·123456789101112131415161718192021222324252627282930
has picks today
06:00

TanStack Charts: Framework-Agnostic Grammar of Graphics in TypeScript

TanStack 推出 Charts:用图形语法取代图表类型,gzip 后仅 29 kB

TanStack Charts is the newest library from Tanner Linsley's team: a framework-agnostic TypeScript take on the grammar of graphics, already at roughly 160,000 weekly downloads while still in Alpha. Instead of a fixed catalog of chart components, it composes marks, scales, channels, transforms and layers, and inferred types stay tied to the source row. One definition renders through adapters for React, Preact, Vue, Solid, Svelte, Angular, Lit and vanilla DOM, on server or client. Installation is a single package, and a basic React line chart is about 29 kB minified and gzipped; the project's controlled comparison puts its suite at 38-45 KiB against 45-58 KiB for Chart.js, 83-92 KiB for Observable Plot and 153-173 KiB for ECharts. The stability guide says Alpha is not a stable API promise and advises pinning an exact version, the repository warns it is not production-ready, and heavy real-time workloads are steered toward hardware-accelerated renderers. Linsley states almost all of the implementation was produced by AI coding agents under his supervision.

www.infoq.com · 3 min · Data Visualization · Open Source · React · TypeScript