Charts
@ripl/charts is the chart library built on Ripl's core rendering engine: 25 chart types in strict TypeScript, with no third-party runtime dependencies. Every chart animates its data transitions, responds to pointer events, resizes with its container, and draws through the same Context — so the same chart code renders to Canvas, SVG or a terminal, in the browser or server-side in Node. Each one is created with a createXxxChart(target, options) factory and updated through chart.update(options).
NOTE
For the full Charts API, see the Charts API Reference.
Available Charts
Twenty-five chart types ship in five families. Cartesian: line, bar, area, trend (mixed line/bar/area), scatter, stock (OHLC candlestick), histogram and box plot. Radial & polar: pie and donut, polar area, polar scatter, radial bar, radar and gauge. Hierarchical: treemap, packed circle and sunburst. Network & flow: sankey, chord, force-directed network, arc diagram and funnel. Specialized: heatmap, gantt and realtime streaming.
All of them share the same options for padding, titles, legends, tooltips, theming and animation; the cartesian ones add axes, grids, crosshairs, annotations and panning and zooming.