KPI gauge grid

Eight gauges from one definition, sharing the same bands.

Chart type
Gauge gauge
Tier
Free Core
Collection
Trellis
Render
Live, site theme
View .md Agent setup
LIVE/trellis/kpi-gauge-grid5 of 27 in Trellis

Configuration

Raw Standalone
const options = {
  chart: {
    height: "auto",
    fontFamily: "Inter, Geist, \"IBM Plex Sans\", system-ui, sans-serif",
    type: "gauge",
    toolbar: {
      show: false
    }
  },
  series: [
    {
      name: "Score",
      kpi: "Uptime",
      data: [60]
    },
    {
      name: "Score",
      kpi: "NPS",
      data: [55]
    },
    {
      name: "Score",
      kpi: "SLA",
      data: [85]
    },
    {
      name: "Score",
      kpi: "Coverage",
      data: [87]
    },
    {
      name: "Score",
      kpi: "Velocity",
      data: [70]
    },
    {
      name: "Score",
      kpi: "Quality",
      data: [57]
    },
    {
      name: "Score",
      kpi: "Budget",
      data: [74]
    },
    {
      name: "Score",
      kpi: "Hiring",
      data: [57]
    }
  ],
  labels: ["Score"],
  plotOptions: {
    radialBar: {
      startAngle: -110,
      endAngle: 110,
      bands: [
        {
          from: 0,
          to: 60,
          color: "#fecaca"
        },
        {
          from: 60,
          to: 85,
          color: "#fde68a"
        },
        {
          from: 85,
          to: 100,
          color: "#bbf7d0"
        }
      ],
      dataLabels: {
        name: {
          show: false
        }
      }
    }
  },
  trellis: {
    by: "kpi",
    columns: 4,
    aspectRatio: 1.2,
    legend: "none"
  },
  title: {
    text: "KPI scores"
  },
  theme: {
    mode: "light",
    preset: "coastal"
  }
}

const chart = new WestCoastCharts(document.querySelector('#chart'), options)
chart.render()