gogal

Pure Go SVG chart library with CSS-only interactivity and HTMX integration.

Documentation

Examples

# Name What it demonstrates
01 Sparkline Minimal inline chart, no axes
01a Axis Formats Visual test of tick formatting across data ranges
02 Static Line Full chart with axes, legend, CSS tooltips
03 Multi-Series Multiple series, color cycling, dual axis modes
04 Bar Chart Vertical, horizontal, grouped, stacked (planned)
05 Interactive HTMX Legend toggling via HTMX + WithHiddenSeries
06 Live SSE Real-time chart updates via Server-Sent Events
07 Scatter XY scatter plots (planned)
08 WASM Demo Full chart running in the browser
09 Dashboard Multiple charts, themes, sizes on one page