Circular Sankey

A material loop: recycled material flows back into production.

Why it matters loops are routed below the diagram with lanes that never cross the nodes; with cycles: "error" (default) a loop is reported instead of drawn wrong

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

Configuration

Raw Standalone
const options = {
  chart: {
    height: 400,
    toolbar: {
      show: false
    },
    type: "sankey"
  },
  series: [
    {
      data: [
        ["Raw material", "Production", 70],
        ["Production", "Products", 84],
        ["Products", "Use", 84],
        ["Use", "Landfill", 28],
        ["Use", "Collection", 56],
        ["Collection", "Recycling", 47],
        ["Collection", "Landfill", 9],
        ["Recycling", "Production", 14],
        ["Recycling", "Products", 33]
      ]
    }
  ],
  plotOptions: {
    sankey: {
      cycles: "circular",
      nodeAlign: "left"
    }
  },
  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?