Skip to content

Instantly share code, notes, and snippets.

@amankharwal
Created May 16, 2021
Embed
What would you like to do?
import plotly.graph_objects as go
fig = go.Figure(go.Treemap(
labels = ["A","B", "C", "D", "E", "F", "G", "H", "I"],
parents = ["", "A", "A", "C", "C", "A", "A", "G", "A"]
))
fig.show()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment