Hacker News new | ask | show | jobs
Shadcn Just Launched Charts (twitter.com)
23 points by veryrealsid 711 days ago
5 comments

For those that don’t want to go to Twitter/X here is the official site: https://ui.shadcn.com/charts
URL should really be changed to this.
Why would I use this over existing js libraries such as D3
D3 is nice and really customizable, but if you want something just out of the box that looks pretty would be my guess.
This is just recharts with some nice pre wrapped styles for a few things.
Nice to see this. We use shadcn for Neosync and I’ve already built a few components with recharts, which is my go to charting library these days. Will be curious to see how easily I can update my components to just use the shad ones. Or at least try it for any new charts I need to build.
Built our charts of nivo, initially I tried to port all our charts over bc they looked so nice. But I think it'll be a decent challenge (since we have so much custom random stuff). Curious what your experience will be.
Why is a Twitter link used for this?
Radar Chart - Custom Label appears to have illegible markings and the "February" label gets cut off to Februa in other radar charts.