Spaces:
Running
Running
christopher
commited on
Commit
•
6387a15
1
Parent(s):
3113bb9
Update app.py
Browse files
app.py
CHANGED
@@ -6,7 +6,7 @@ st.set_page_config(page_title="BLOOM Corpus Treemap",layout='wide')
|
|
6 |
|
7 |
|
8 |
df = pd.read_pickle('bloom_dataset.pkl')
|
9 |
-
fig = px.treemap(df, path=[px.Constant("
|
10 |
values='num_bytes', maxdepth=4)
|
11 |
fig.update_traces(root_color="pink")
|
12 |
fig.update_layout(margin = dict(t=50, l=25, r=25, b=25))
|
|
|
6 |
|
7 |
|
8 |
df = pd.read_pickle('bloom_dataset.pkl')
|
9 |
+
fig = px.treemap(df, path=[px.Constant("ROOTS"), 'Macroarea', 'Family', 'Genus', 'Language', 'dataset_name'],
|
10 |
values='num_bytes', maxdepth=4)
|
11 |
fig.update_traces(root_color="pink")
|
12 |
fig.update_layout(margin = dict(t=50, l=25, r=25, b=25))
|