Streamgraph, expanded

Share of total (0–100%) instead of absolute values.

Chart type
Streamgraph streamgraph
Tier
Free Core
Collection
Streamgraph
Render
Live, site theme
View .md Agent setup
LIVE/streamgraph/streamgraph-expand2 of 4 in Streamgraph

Configuration

Raw Standalone
const options = {
  chart: {
    height: 380,
    fontFamily: "Inter, Geist, \"IBM Plex Sans\", system-ui, sans-serif",
    type: "streamgraph",
    toolbar: {
      show: false
    }
  },
  series: [
    {
      name: "Email",
      data: [
        [1735689600000, 10],
        [1736294400000, 6],
        [1736899200000, 17],
        [1737504000000, 29],
        [1738108800000, 22],
        [1738713600000, 28],
        [1739318400000, 22],
        [1739923200000, 8],
        [1740528000000, 22],
        [1741132800000, 8],
        [1741737600000, 13],
        [1742342400000, 30],
        [1742947200000, 29],
        [1743552000000, 7],
        [1744156800000, 15],
        [1744761600000, 5],
        [1745366400000, 18],
        [1745971200000, 7],
        [1746576000000, 11],
        [1747180800000, 15]
      ]
    },
    {
      name: "Chat",
      data: [
        [1735689600000, 10],
        [1736294400000, 26],
        [1736899200000, 14],
        [1737504000000, 26],
        [1738108800000, 7],
        [1738713600000, 9],
        [1739318400000, 10],
        [1739923200000, 12],
        [1740528000000, 21],
        [1741132800000, 5],
        [1741737600000, 7],
        [1742342400000, 12],
        [1742947200000, 22],
        [1743552000000, 16],
        [1744156800000, 19],
        [1744761600000, 15],
        [1745366400000, 25],
        [1745971200000, 16],
        [1746576000000, 22],
        [1747180800000, 21]
      ]
    },
    {
      name: "Phone",
      data: [
        [1735689600000, 22],
        [1736294400000, 21],
        [1736899200000, 13],
        [1737504000000, 12],
        [1738108800000, 15],
        [1738713600000, 7],
        [1739318400000, 20],
        [1739923200000, 14],
        [1740528000000, 15],
        [1741132800000, 21],
        [1741737600000, 6],
        [1742342400000, 18],
        [1742947200000, 22],
        [1743552000000, 22],
        [1744156800000, 13],
        [1744761600000, 22],
        [1745366400000, 10],
        [1745971200000, 7],
        [1746576000000, 18],
        [1747180800000, 16]
      ]
    },
    {
      name: "Forum",
      data: [
        [1735689600000, 15],
        [1736294400000, 9],
        [1736899200000, 7],
        [1737504000000, 17],
        [1738108800000, 14],
        [1738713600000, 5],
        [1739318400000, 11],
        [1739923200000, 8],
        [1740528000000, 13],
        [1741132800000, 8],
        [1741737600000, 12],
        [1742342400000, 11],
        [1742947200000, 15],
        [1743552000000, 13],
        [1744156800000, 7],
        [1744761600000, 8],
        [1745366400000, 7],
        [1745971200000, 11],
        [1746576000000, 10],
        [1747180800000, 18]
      ]
    }
  ],
  xaxis: {
    type: "datetime"
  },
  plotOptions: {
    streamgraph: {
      offset: "expand"
    }
  },
  title: {
    text: "Support contacts by channel (share)"
  },
  theme: {
    mode: "light",
    preset: "coastal"
  }
}

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