Donut update

Buttons add, remove and randomise segments.

Chart type
Donut donut
Tier
Free Core
Collection
Pie & donut
Render
Live, site theme
View .md Agent setup
LIVE/pie/donut-update8 of 10 in Pie

Configuration

Raw Standalone
const options = {
  chart: {
    height: 380,
    fontFamily: "Inter, Geist, \"IBM Plex Sans\", system-ui, sans-serif",
    type: "donut",
    toolbar: {
      show: false
    }
  },
  series: [44, 55, 13, 33],
  labels: ["A", "B", "C", "D"],
  title: {
    text: "Live share"
  },
  theme: {
    mode: "light",
    preset: "coastal"
  }
}

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