#!/usr/bin/env python
# coding: utf-8
# # Treemap using Python
# In[2]:
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()
#clcoding.com
# In[ ]:
0 Comments:
Post a Comment