Particle Flow

Particles travel along each link; their density follows the flow.

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

Configuration

Raw Standalone
const options = {
  chart: {
    height: 380,
    toolbar: {
      show: false
    },
    type: "sankey"
  },
  series: [
    {
      data: [
        ["Ingest", "Queue", 80],
        ["Queue", "Workers", 74],
        ["Queue", "Dead letter", 6],
        ["Workers", "Storage", 52],
        ["Workers", "Search index", 22]
      ]
    }
  ],
  plotOptions: {
    sankey: {
      link: {
        colorMode: "source",
        particles: {
          enabled: true,
          density: 1.2,
          speed: 1
        }
      }
    }
  },
  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?