📊 Massive LayerChart update (6 months in the making…) Data-driven primitives, overhauled state (transform, brush, series, tooltip), 10+ new components (image, statistical, spatial), canvas improvements, chart export (png, svg), new docs, and so much more! next.layerchart.com/docs/guides/...
Post
📈 Primitives (Circle, Rect, Line, Text, …) now accept accessors, resolve through scales, register with chart context, and iterate over data automatically. <Circle x="date" y="value" r={5} /> <Rect x="category" y="amount" fill="group" /> next.layerchart.com/docs/guides/...
⇅ Overhauled state, encapsulated in reactive state classes, provide simpler integrations and external control (custom legends, sync brush state to local storage, etc) Many new features added, such as cartesian support for transform and inertia dragging. next.layerchart.com/docs/guides/...
🎛️ Simplified charts are now just that - pre-configured Chart wrappers that provide sensible defaults for common charts, but 100% of the functionality provided by simplified charts is now available. next.layerchart.com/docs/guides/... New `seriesKey` prop also simplifies multi-series integration
✨ New components Image, Vector, Raster, Density, Contour, BoxPlot, Violin, Cell, Ribbon and Chord. All support Svg and Canvas layers. We've also added over 100 new examples: next.layerchart.com/docs/examples
😍 A few of my favorites: next.layerchart.com/docs/compone... next.layerchart.com/docs/compone... next.layerchart.com/docs/compone... next.layerchart.com/docs/compone... next.layerchart.com/docs/compone... next.layerchart.com/docs/compone...
🖼️ Download utils downloadImage() and downloadSvg() utils added to easily capture any visualizationa, and available for all examples. next.layerchart.com/docs/utils/d...
🎨 Improved canvas support Canvas rendering has been overhauled - unified component tree, proper Group transforms, ClipPath support, dashed strokes, and rounded Rect. This increases canvas support for more visualizations such as Treemap. next.layerchart.com/docs/compone...
📝 Improvement documentation We continue to make investments to improve the docs, with new (and detailed) guides for state, migration guides, structure, animation, and more. This makes LayerChart very AI friendly (docs overhaul previously introduced llms.txt). next.layerchart.com/docs/guides/...
🤖 In fact AI was used to perform much of the updates for shadcn-svelte charts: github.com/huntabyte/sh...
As part of this effort, we also closed 25+ issues, added ~500 tests, and got the library MUCH closer to an official 2.0 release. Stay tuned! github.com/techniq/laye...
No replies yet.