Better Stack
jollycoding's profile
James@jollycoding•Yesterday
2.5K

TanStack Did It Again... They Fixed Charts

From youtube.com•Yesterday•8m watch time

TanStack Charts is a new JavaScript charting library using a grammar-of-graphics approach (similar to ggplot2 in R), treating charts as compositions of marks, scales, and mappings rather than fixed chart types. It supports ~55 mark types including bars, lines, areas, sankey diagrams, tree maps, radar charts, world maps, and more. Key features include SVG and canvas output, animations, tooltips, interactions (brushing, zooming, keyboard selection), export to SVG/PNG, and a three-level styling system via CSS variables, theme blocks, and per-mark properties. The bundle size is 36–43 KB, significantly smaller than Chart.js (45–58 KB) and Recharts (153–168 KB). The API is framework-agnostic with a React adapter, fully type-safe, and deliberately designed to be AI-composable without requiring documentation reading.

710.6K Impressions9 Comments
jollycoding's user avatar
James
@jollycoding
Joined Nov 21. 2024
2.5K

Would you recommend this post?

Copy link
WhatsApp
Facebook
X
New Squad
  • © 2026 Daily Dev Ltd.
  • Guidelines
  • Explore
  • Tags
  • Sources
  • Squads
  • Leaderboard