Charts from a pandas DataFrame, saved as one HTML file.
Restart xlwings Lite after saving
| Distributor_Name | Region | Commission_USD |
|---|---|---|
| Anna Schmidt | EU | 1,234 |
| Joao | LATAM | 980 |
| Yumi | APAC | 2,100 |
| Mateus | NAM | 1,560 |
# build the chart fig = px.bar( df, x="Commission_USD", y="Distributor_Name", color="Region", orientation="h", ) fig.write_html("chart.html")
Hover for values Click legend to filter a region Drag to zoom in