Skip to content

Is there anyone who made a sankey diagram #399

Answered by dbuezas
qinguDLI asked this question in Q&A
Discussion options

You must be logged in to vote

What data will you put in it?
Sankey diagrams do work if you have data to feed them :)
Here's an example with fake data

type: custom:plotly-graph
title: sankey
entities:
  - entity: ""
    type: sankey
    orientation: h
    node:
      pad: 15
      thickness: 30
      line:
        color: black
        width: 0.5
      label:
      - A1
      - A2
      - B1
      - B2
      - C1
      - C2
      color:
      - blue
      - blue
      - blue
      - blue
      - blue
      - blue
    link:
      source:
      - 0
      - 1
      - 0
      - 2
      - 3
      - 3
      target:
      - 2
      - 3
      - 3
      - 4
      - 4
      - 5
      value:
      - 8
      - 4
      - 2
      - 8

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@dbuezas
Comment options

@qinguDLI
Comment options

@dbuezas
Comment options

@qinguDLI
Comment options

@dbuezas
Comment options

Answer selected by qinguDLI
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants