100% stacked column

Device share per month, normalised to 100%.

Chart type
Bar bar
Tier
Free Core
Collection
Column
Render
Live, site theme
View .md Agent setup
LIVE/column/stacked-column-1004 of 15 in Column

Configuration

Raw Standalone
const options = {
  chart: {
    height: 380,
    fontFamily: "Inter, Geist, \"IBM Plex Sans\", system-ui, sans-serif",
    type: "bar",
    stacked: true,
    stackType: "100%",
    toolbar: {
      show: false
    }
  },
  series: [
    {
      name: "Desktop",
      data: [33, 41, 32, 43, 33, 58, 34, 53, 39, 51, 34, 29]
    },
    {
      name: "Mobile",
      data: [27, 31, 36, 27, 35, 41, 22, 30, 23, 20, 24, 35]
    },
    {
      name: "Tablet",
      data: [22, 23, 21, 22, 21, 24, 21, 23, 24, 21, 22, 21]
    }
  ],
  xaxis: {
    categories: ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"]
  },
  dataLabels: {
    enabled: false
  },
  title: {
    text: "Sessions by device (share)"
  },
  theme: {
    mode: "light",
    preset: "coastal"
  }
}

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