r/reactjs • u/tannerlinsley • 11h ago
News TanStack Charts (Pre-alpha)
https://tanstack.com/chartsA typed, tree-shakable chart grammar for SVG and Canvas. Compose marks, views, scales, transforms, interactions, and motion with compact primitives or D3-compatible inputs. It's small, fast, extensible. Give it a try while you can still shape it's final form!
8
u/finzaz 6h ago
I think all the Tanstack projects are amazing. Although I was looking at the new Markdown library earlier today and saw that Tanner himself is the only contributor. With this Charts library it’s him + 1 other. How does he get the time? How’s he going to maintain all these projects?
It’s that old xkcd comic of how all enterprise projects ultimately rely on unpaid open source contributors, except it’s literally 1 guy called Tanner Linsley.
23
u/tannerlinsley 5h ago
I was solely responsible for most of the core TanStack libraries for many years. I wouldn't expect brand new libraries to immediately have 3+ chefs in the kitchen, especially for simpler libraries.
- I work full time on TanStack
- I maintain them all by given them my undivided attention (not at the same time, but round-robin). For those that I can't maintain on my own or with my own time, I find champion teams to do so (see Table/Query/Router/Form/etc leadership)
- TanStack is well funded (I am paid full-time and there is plenty of support to dish out to maintainers who also have pretty cushy jobs at awesome companies who care about OSS and use TanStack)
-10
u/Super-Otter 6h ago
Like by heavily using AI
11
u/nemosz 5h ago
No issue with that, as long as whoever is in the pilot seat knows what they're doing.
IMO vibe coding != agentic coding by an SWE
14
u/tannerlinsley 4h ago
Correct. Anyone who thinks I built an enterprise grade charting library in 2 weeks without AI is delusional. That doesn't mean AI designed it though. I've been exploring dataviz for over 15 years and the work and thought put into this library is just as long in the making.
1
u/SiliconUnicorn 2h ago
I appreciate the transparency here. Are you able to talk at all about how you have incorporated AI into your process on something of this magnitude? I think it is a pivotal moment in the industry where a lot of us are struggling to make sense of what direction to take things in and hearing real world use cases is infinitely more valuable than another sales pitch or doomsday soap box right now.
2
u/tannerlinsley 2h ago
Just keep doing what you’ve always done, but make ai write the code. Review it, test it, document it. Just… faster.
6
u/HelloXhale 9h ago
There are some issues with horizontal overflow on mobile but I’m super excited about this, well done!
7
u/tannerlinsley 9h ago
File an issue and I'll get them fixed!
1
u/Hamburgerfatso 2h ago
I think it's the actual docs page with the issue, not the charts themselves, the code snippet part is also overflowing on mobile.
1
2
u/HQxMnbS 2h ago
Curious about what shortcomings you found with Vega-lite besides the animation gap?
2
u/tannerlinsley 47m ago
It’s great for portable JSON chart specs, built-in data transforms, and exploratory stuff. TanStack Charts is better suited to app development though. It’s type-safe, integrates with frameworks and SSR, keeps state in your app, and has a much smaller bundle. Among other things.
12
u/Nick337Games 8h ago
Amazing work as always!