Update app.py
Browse files
app.py
CHANGED
@@ -99,7 +99,7 @@ if upload_file is not None:
|
|
99 |
df.columns = new_columns
|
100 |
|
101 |
st.dataframe(df, key="csv_dataframe")
|
102 |
-
fig = px.treemap(df, path=[px.Constant("all"), '
|
103 |
color='column_2')
|
104 |
fig.update_layout(margin = dict(t=50, l=25, r=25, b=25))
|
105 |
st.subheader("Tree map", divider = "red")
|
|
|
99 |
df.columns = new_columns
|
100 |
|
101 |
st.dataframe(df, key="csv_dataframe")
|
102 |
+
fig = px.treemap(df, path=[px.Constant("all"), 'column_1', 'column_3'],
|
103 |
color='column_2')
|
104 |
fig.update_layout(margin = dict(t=50, l=25, r=25, b=25))
|
105 |
st.subheader("Tree map", divider = "red")
|