Using the Temporal Format for the Order

samples = [
    "order": 2000.01, "name": "Sankey", "value": 10,
    "order": 2000.01, "name": "Terminus", "value": 10,
    "order": 2000.01, "name": "Chord", "value": 40,
    "order": 2000.01, "name": "Bar Fight", "value": 90,
    "order": 2000.01, "name": "Pie Fight", "value": 70,

    "order": 2000.02, "name": "Sankey", "value": 30,
    "order": 2000.02, "name": "Terminus", "value": 20,
    "order": 2000.02, "name": "Chord", "value": 40,
    "order": 2000.02, "name": "Bar Fight", "value": 120,
    "order": 2000.02, "name": "Pie Fight", "value": 55,

    "order": 2000.03, "name": "Sankey", "value": 35,
    "order": 2000.03, "name": "Terminus", "value": 45,
    "order": 2000.03, "name": "Chord", "value": 60,
    "order": 2000.03, "name": "Bar Fight", "value": 85,
    "order": 2000.03, "name": "Pie Fight", "value": 100,

    "order": 2000.04, "name": "Sankey", "value": 25,
    "order": 2000.04, "name": "Terminus", "value": 60,
    "order": 2000.04, "name": "Chord", "value": 90,
    "order": 2000.04, "name": "Bar Fight", "value": 50,
    "order": 2000.04, "name": "Pie Fight", "value": 105,

    "order": 2000.05, "name": "Sankey", "value": 60,
    "order": 2000.05, "name": "Terminus", "value": 80,
    "order": 2000.05, "name": "Chord", "value": 120,
    "order": 2000.05, "name": "Bar Fight", "value": 30,
    "order": 2000.05, "name": "Pie Fight", "value": 95,
]

Luis Robinson

Next Post

Changing Font Sizes

Fri Dec 30 , 2022
Preamble¶ In [1]: from plotapi import Sankey Sankey.set_license("your username", "your license key") Introduction¶ The Plotapi Sankey diagram font-sizes changed independently. As we can see, we have set our license details in the preamble with Sankey.set_license(). Dataset¶ Plotapi Sankey expects a list of dictionary items, these will define the flow between a […]
Changing Font Sizes

You May Like