Basic slope

Satisfaction per product area, 2025 vs 2026.

Why it matters end labels relax so they never overlap; colour by direction; hover focus

Chart type
Slope slope
Tier
Free Core
Collection
Slope
Render
Live, site theme
View .md Agent setup
LIVE/slope/basic1 of 2 in Slope

Configuration

Raw Standalone
const options = {
  chart: {
    height: 420,
    fontFamily: "Inter, Geist, \"IBM Plex Sans\", system-ui, sans-serif",
    type: "slope",
    toolbar: {
      show: false
    }
  },
  series: [
    {
      name: "Atlas",
      data: [47, 49]
    },
    {
      name: "Beacon",
      data: [49, 42]
    },
    {
      name: "Cirrus",
      data: [55, 56]
    },
    {
      name: "Delta",
      data: [52, 44]
    },
    {
      name: "Ember",
      data: [73, 79]
    },
    {
      name: "Fjord",
      data: [60, 49]
    }
  ],
  xaxis: {
    categories: ["2025", "2026"]
  },
  plotOptions: {
    slope: {
      colorBy: "direction"
    }
  },
  title: {
    text: "Customer satisfaction score"
  },
  theme: {
    mode: "light",
    preset: "coastal"
  }
}

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