1 GitHub star = 1 new component.

47 components

Charts & Stats

45 charts and statistics: zero-dependency SVG lines, bars, pies, funnels, heatmaps, KPI tiles and more.

  • Area Chart

    An interactive area chart with smooth gradients and multi-series support.

    dataanalyticschart
  • Bar Chart

    A clean bar chart with rounded corners and multi-series support.

    dataanalyticschart
  • Donut Chart

    An interactive donut chart with percentage breakdown and glowing segments.

    dataanalyticschart
  • Radar Metric Chart

    A multi-axis radar chart for comparing metrics across multiple dimensions.

    chartsradarpolygon
  • Linear Progress Gauge

    A linear progress gauge with threshold markers and target indicators.

    chartsgaugelinear
  • Chart Frame

    Shared accessible chart shell: card surface, header, legend, hover tooltip and a data-table fallback used by every SVG chart.

    chartsvga11y
  • Line Chart

    Multi-series SVG line chart with smooth, linear or step curves, gradient area fill and a crosshair tooltip.

    chartsvgzero-dependency
  • Stacked Area Chart

    Stacked or 100% normalised area chart showing how each layer contributes to a changing total.

    chartsvgzero-dependency
  • Range Area Chart

    Min/max band with a central median line, ideal for latency percentiles, temperatures or price ranges.

    chartsvgzero-dependency
  • Forecast Line Chart

    Actuals as a solid line and projections as a dashed line with a widening confidence cone and a Today divider.

    chartsvgzero-dependency
  • Slope Chart

    Before/after comparison between two points in time with rising and falling lines in status colors.

    chartsvgzero-dependency
  • Bump Chart

    Rank-over-time chart tracking each entity's position across periods with labelled rank nodes.

    chartsvgzero-dependency
  • Sparkline Chart

    Compact inline trend line, area or micro-bars for tables, KPI tiles and running text.

    chartsvgzero-dependency
  • Grouped Bar Chart

    Side-by-side vertical bars comparing several series across categories, with rounded data-ends.

    chartsvgzero-dependency
  • Stacked Bar Chart

    Vertical or horizontal stacked bars with optional 100% mode and 2px surface gaps between segments.

    chartsvgzero-dependency
  • Horizontal Bar Chart

    Ranked horizontal bars with labels and values, single color and optional highlight of one item.

    chartsvgzero-dependency
  • Diverging Bar Chart

    Horizontal bars extending left or right from zero for variance, sentiment and P&L deltas.

    chartsvgzero-dependency
  • Waterfall Chart

    Bridge chart showing how a starting value is built up or eroded by positive and negative steps.

    chartsvgzero-dependency
  • Histogram Chart

    Bins raw values into equal-width buckets and shows the distribution with mean and median markers.

    chartsvgzero-dependency
  • Lollipop Chart

    Thin stems with value dots and an optional goal line; a lighter alternative to bar charts.

    chartsvgzero-dependency
  • Dumbbell Chart

    Two connected dots per row showing the gap between before/after or two groups.

    chartsvgzero-dependency
  • Bullet Chart

    Compact KPI-vs-target bars with qualitative performance bands and an explicit on-target status.

    chartsvgzero-dependency
  • Population Pyramid

    Back-to-back horizontal bars comparing two groups across ordered bands like age groups.

    chartsvgzero-dependency
  • Radial Bar Chart

    Concentric progress arcs sharing a 0–100% scale with a labelled breakdown list.

    chartsvgzero-dependency
  • Segmented Bar Chart

    A single tall part-to-whole bar with labelled segments and a breakdown list; clearer than a pie.

    chartsvgzero-dependency
  • Pie Chart

    Pure SVG pie or donut with slice gaps, centre total and a value breakdown list.

    chartsvgzero-dependency
  • Gauge Chart

    Semicircular progress gauge for a single KPI against a goal with the number always shown as text.

    chartsvgzero-dependency
  • Waffle Chart

    10×10 grid where each square is 1% of the whole; an intuitive view of percentages.

    chartsvgzero-dependency
  • Treemap Chart

    Squarified treemap where tile area is proportional to value, grouped by color.

    chartsvgzero-dependency
  • Funnel Chart

    Conversion funnel with tapered stages, step drop-off and overall conversion rate.

    chartsvgzero-dependency
  • Sunburst Chart

    Two-level hierarchical donut with parent categories inside and their children on the outer ring.

    chartsvgzero-dependency
  • Activity Rings

    Concentric goal rings with values, targets and progress percentages; over-100% wraps around.

    chartsvgzero-dependency
  • Scatter Plot

    X/Y relationship plot for up to three groups with distinct shapes and a least-squares trend line.

    chartsvgzero-dependency
  • Bubble Chart

    Three-variable scatter where bubble area encodes a third measure such as revenue.

    chartsvgzero-dependency
  • Box Plot Chart

    Distribution summary per group with median, IQR box, whiskers and outliers computed from raw data.

    chartsvgzero-dependency
  • Heatmap Chart

    Matrix heatmap on a single-hue sequential ramp with values, scale legend and keyboard-focusable cells.

    chartsvgzero-dependency
  • Punch Card Chart

    Day × hour dot matrix where dot area encodes volume; shows when activity happens.

    chartsvgzero-dependency
  • Polar Area Chart

    Equal-angle wedges with area-correct radius for cyclical categories like months or hours.

    chartsvgzero-dependency
  • Radar Chart

    Pure SVG spider chart comparing up to three entities across 5–8 attributes on a shared scale.

    chartsvgzero-dependency
  • Sankey Chart

    Two-column flow diagram where ribbon thickness encodes the volume moving from sources to targets.

    chartsvgzero-dependency
  • Candlestick Chart

    OHLC price chart with hollow up-candles and filled down-candles so direction never relies on color.

    chartsvgzero-dependency
  • KPI Stat Tile

    Hero-number statistic tile with change chip (icon + text), comparison period and sparkline.

    chartsvgzero-dependency
  • KPI Trend Grid

    Responsive grid of KPI tiles with sparklines; the classic top row of an analytics dashboard.

    chartsvgzero-dependency
  • Meter Gauge

    Speedometer dial with labelled status zones and an animated needle for live readings.

    chartsvgzero-dependency
  • Goal Progress Chart

    Cumulative progress toward a goal versus the ideal linear pace with an ahead/behind readout.

    chartsvgzero-dependency
  • Retention Cohort Table

    Triangular cohort retention matrix shaded on a single-hue ramp with per-period averages.

    chartsvgzero-dependency
  • Metric Delta Table

    Comparison table with inline bars, current vs previous values, signed deltas and sparklines.

    chartsvgzero-dependency