Reversed bar

Bars growing from the right with the axis reversed.

Chart type
Bar bar
Tier
Free Core
Collection
Bar
Render
Live, site theme
View .md Agent setup
LIVE/bar/reversed-bar6 of 12 in Bar

Configuration

Raw Standalone
const options = {
  chart: {
    height: 380,
    fontFamily: "Inter, Geist, \"IBM Plex Sans\", system-ui, sans-serif",
    type: "bar",
    toolbar: {
      show: false
    }
  },
  series: [
    {
      name: "Wait (min)",
      data: [25, 28, 6, 7, 4, 8, 26]
    }
  ],
  xaxis: {
    categories: ["Desk A", "Desk B", "Desk C", "Desk D", "Desk E", "Desk F", "Desk G"]
  },
  yaxis: {
    reversed: true,
    axisTicks: {
      show: true
    }
  },
  plotOptions: {
    bar: {
      horizontal: true,
      borderRadius: 3
    }
  },
  dataLabels: {
    enabled: true
  },
  title: {
    text: "Average wait by desk"
  },
  theme: {
    mode: "light",
    preset: "coastal"
  }
}

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