Pie Chart with Percentage Legend
Budget pie chart with a percentage legend table: SVG slices drawn from a data array, and clicking a slice or category row pulls the slice out.
Bar, line, donut, gauge and heatmap charts built with HTML, CSS and SVG.
2 components
Budget pie chart with a percentage legend table: SVG slices drawn from a data array, and clicking a slice or category row pulls the slice out.
Monthly sales bar chart with a labelled value axis, gridlines, tooltips on hover, focus and tap, and a this year / last year toggle that animates the bars.
A chart turns numbers into shapes people can compare at a glance: bars for amounts, lines for trends over time, donuts and pies for shares of a whole, gauges for progress toward a target and heatmaps for activity. These charts are built with plain HTML, CSS and inline SVG, so they load instantly and need no charting library.
Use them on dashboards, reports, pricing and landing pages, KPI tiles and admin panels where you show a handful of series and want full control over the look. For thousands of points or live streaming data a dedicated charting library is a better fit.
Each chart is available in one of Bootstrap 6, Bootstrap 5, Tailwind CSS or pure CSS. Open the live preview to try it, then copy the HTML, CSS and JavaScript or download the files. Colours, fonts and spacing are defined once at the top of the stylesheet so you can match your brand quickly.