Playback

Quarterly frames with play / pause and a scrubber built in.

Chart type
Sankey sankey
Tier
Premium
Collection
Sankey
Render
Live, site theme
View .md Agent setup
LIVE/sankey/playback11 of 23 in Sankey

Configuration

Raw Standalone
const options = {
  chart: {
    height: 420,
    toolbar: {
      show: false
    },
    type: "sankey"
  },
  series: [
    {
      data: [
        ["Organic", "Sign-ups", 380],
        ["Paid", "Sign-ups", 290],
        ["Partners", "Sign-ups", 110],
        ["Sign-ups", "Activated", 500],
        ["Sign-ups", "Dormant", 280],
        ["Activated", "Paying", 210],
        ["Activated", "Free", 290]
      ]
    }
  ],
  plotOptions: {
    sankey: {
      playback: {
        frames: [
          {
            label: "Q1",
            data: [
              ["Organic", "Sign-ups", 380],
              ["Paid", "Sign-ups", 290],
              ["Partners", "Sign-ups", 110],
              ["Sign-ups", "Activated", 500],
              ["Sign-ups", "Dormant", 280],
              ["Activated", "Paying", 210],
              ["Activated", "Free", 290]
            ]
          },
          {
            label: "Q2",
            data: [
              ["Organic", "Sign-ups", 490],
              ["Paid", "Sign-ups", 440],
              ["Partners", "Sign-ups", 165],
              ["Sign-ups", "Activated", 640],
              ["Sign-ups", "Dormant", 395],
              ["Activated", "Paying", 285],
              ["Activated", "Free", 355]
            ]
          },
          {
            label: "Q3",
            data: [
              ["Organic", "Sign-ups", 600],
              ["Paid", "Sign-ups", 290],
              ["Partners", "Sign-ups", 220],
              ["Sign-ups", "Activated", 780],
              ["Sign-ups", "Dormant", 330],
              ["Activated", "Paying", 360],
              ["Activated", "Free", 420]
            ]
          },
          {
            label: "Q4",
            data: [
              ["Organic", "Sign-ups", 710],
              ["Paid", "Sign-ups", 440],
              ["Partners", "Sign-ups", 275],
              ["Sign-ups", "Activated", 920],
              ["Sign-ups", "Dormant", 445],
              ["Activated", "Paying", 435],
              ["Activated", "Free", 485]
            ]
          }
        ],
        autoplay: true
      }
    }
  },
  theme: {
    mode: "light",
    preset: "coastal"
  }
}

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

This example uses Premium modules. Compare licences · Embedding in a distributed product?