Pattern donut

Pattern fills, readable without colour.

Chart type
Donut donut
Tier
Free Core
Collection
Pie & donut
Render
Live, site theme
View .md Agent setup
LIVE/pie/donut-with-pattern7 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: [40, 30, 20, 10],
  labels: ["Wheat", "Corn", "Barley", "Oats"],
  fill: {
    type: "pattern",
    opacity: 1,
    pattern: {
      style: ["verticalLines", "squares", "horizontalLines", "circles"]
    }
  },
  stroke: {
    width: 1
  },
  title: {
    text: "Harvest by crop"
  },
  theme: {
    mode: "light",
    preset: "coastal"
  }
}

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