Path Highlight

Hover a node or link to trace its path; the buttons highlight from code via the premium api.

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

Configuration

Raw Standalone
const options = {
  chart: {
    height: 400,
    toolbar: {
      show: false
    },
    type: "sankey"
  },
  series: [
    {
      data: [
        ["Search", "Landing", 420],
        ["Social", "Landing", 210],
        ["Email", "Pricing", 130],
        ["Search", "Docs", 110],
        ["Landing", "Pricing", 360],
        ["Landing", "Bounce", 270],
        ["Docs", "Pricing", 70],
        ["Docs", "Bounce", 40],
        ["Pricing", "Trial", 390],
        ["Pricing", "Bounce", 170],
        ["Trial", "Paid", 145],
        ["Trial", "Churned", 245]
      ]
    }
  ],
  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?