Skip to content

Instantly share code, notes, and snippets.

@jlggross
Last active August 20, 2020 14:35
Show Gist options
  • Save jlggross/7b4bf1f226a068dc8c4e52ed5723ab0f to your computer and use it in GitHub Desktop.
Save jlggross/7b4bf1f226a068dc8c4e52ed5723ab0f to your computer and use it in GitHub Desktop.
Treemap Simples
import plotly.express as px
# Dados tratados da Parte 1, sem outliers.
df98 = calculaPercentil98(df)
# Simple treemap
fig1 = px.treemap(df98, path=["Ação"], values="Taxa %")
fig1.show()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment