Browse Components

Gauge

Show completion toward a known goal.

Basic

Hover, tap or focus a mark to inspect exact values. Arrow keys move between observations.

Release checklist
Release checklist — example data
ObservationCompletedMaximum
Tasks72100
View Code
HTML
<figure class="chart" data-chart="radial-progress">
  <figcaption>
    Release checklist
  </figcaption>
  <div class="chart-data">
    <table>
      <caption>
        Release checklist — example data
      </caption>
      <thead>
        <tr>
          <th scope="col">
            Observation
          </th>
          <th scope="col">
            Completed
          </th>
          <th scope="col">
            Maximum
          </th>
        </tr>
      </thead>
      <tbody>
        <tr>
          <th scope="row">
            Tasks
          </th>
          <td>
            72
          </td>
          <td>
            100
          </td>
        </tr>
      </tbody>
    </table>
  </div>
</figure>

Right-to-left

Labels follow the reading direction. Numeric and radial axes keep their established orientation.

Release checklist
Release checklist — example data
ObservationCompletedMaximum
Tasks72100
View Code
HTML
<figure class="chart" dir="rtl" data-chart="radial-progress">
  <figcaption>
    Release checklist
  </figcaption>
  <div class="chart-data">
    <table>
      <caption>
        Release checklist — example data
      </caption>
      <thead>
        <tr>
          <th scope="col">
            Observation
          </th>
          <th scope="col">
            Completed
          </th>
          <th scope="col">
            Maximum
          </th>
        </tr>
      </thead>
      <tbody>
        <tr>
          <th scope="row">
            Tasks
          </th>
          <td>
            72
          </td>
          <td>
            100
          </td>
        </tr>
      </tbody>
    </table>
  </div>
</figure>

Empty data

The chart keeps its reserved space without inventing observations.

Release checklist
Release checklist — example data
ObservationCompletedMaximum
View Code
HTML
<figure class="chart" data-chart="radial-progress">
  <figcaption>
    Release checklist
  </figcaption>
  <div class="chart-data">
    <table>
      <caption>
        Release checklist — example data
      </caption>
      <thead>
        <tr>
          <th scope="col">
            Observation
          </th>
          <th scope="col">
            Completed
          </th>
          <th scope="col">
            Maximum
          </th>
        </tr>
      </thead>
      <tbody>
      </tbody>
    </table>
  </div>
</figure>

Installation

Download these files into the matching paths in your project, or use Create to assemble a kit. Include each dependency once. Do not also load app.css.

Add to your page
<link rel="stylesheet" href="/library/assets/base.css">
<link rel="stylesheet" href="/library/assets/chart-core.css">
<link rel="stylesheet" href="/library/assets/chart-plots.css">
<link rel="stylesheet" href="/library/assets/radial-progress.css">
<script defer src="/library/assets/chart-core.js"></script>
<script defer src="/library/assets/chart-plots.js"></script>
<script defer src="/library/assets/radial-progress.js"></script>

12,194 bytes CSS including base · 16,561 bytes runtime JavaScript

Usage

Data format

One row: completed value and positive maximum. Values must be between zero and maximum. The center shows a percentage; empty data keeps the ring.

Shared interactions

Hover, tap or focus a mark to inspect its exact value. Arrow keys, Home and End move between marks; Escape dismisses the tooltip. The source table remains available without JavaScript. Enhanced charts expose exact values through accessible marks and tooltips.

Lifecycle and themes

Load Chart Core, Chart Plots and this component module. Theme tokens supply colors in light and dark modes. Use layoutCharts.refresh(root) after changing the table and destroy(root) before unmounting. Wide charts scroll within their frame.

Building with AI? The AI Manifest has these notes and the full contract. See the AI Guide.