Einfaches Steigungsdiagramm

Zufriedenheit je Produktbereich, 2025 im Vergleich zu 2026.

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

Chart type
Steigungsdiagramm slope
Tier
Kostenloser Core
Collection
Steigungsdiagramm
Zeichnen
Live im Website-Design
.md ansehen Agenten einrichten
LIVE/slope/basic1 of 2 in Slope

Configuration

Original 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()