import plotly.express as px import numpy as np df ... in order to have a single root node fig = px.treemap(df, path=['world', 'continent', ...
確定! 回上一頁