Spaces:
Sleeping
Sleeping
GMARTINEZMILLA
commited on
Commit
•
46a006c
1
Parent(s):
6b34b4f
feat: updated app script
Browse files
app.py
CHANGED
@@ -183,8 +183,8 @@ if page == "Summary":
|
|
183 |
|
184 |
# Left Column (Red): Metrics and Donut Charts
|
185 |
with col1:
|
186 |
-
st.markdown('####
|
187 |
-
st.metric(label="
|
188 |
st.metric(label="New York", value="19.5 M", delta="-77 K", delta_color="inverse")
|
189 |
|
190 |
st.markdown('#### States Migration')
|
@@ -194,7 +194,7 @@ if page == "Summary":
|
|
194 |
labels = ['Outbound', 'Inbound']
|
195 |
color_scheme = ['#155F7A', '#29b5e8']
|
196 |
|
197 |
-
donut_fig = create_donut_chart(inbound_values, labels, color_scheme)
|
198 |
st.plotly_chart(donut_fig, use_container_width=True)
|
199 |
|
200 |
|
|
|
183 |
|
184 |
# Left Column (Red): Metrics and Donut Charts
|
185 |
with col1:
|
186 |
+
st.markdown('#### In a nutshell')
|
187 |
+
st.metric(label="Active Customers Analysed", value="4000", delta="46 % total customers", delta_color="normal")
|
188 |
st.metric(label="New York", value="19.5 M", delta="-77 K", delta_color="inverse")
|
189 |
|
190 |
st.markdown('#### States Migration')
|
|
|
194 |
labels = ['Outbound', 'Inbound']
|
195 |
color_scheme = ['#155F7A', '#29b5e8']
|
196 |
|
197 |
+
donut_fig = create_donut_chart(inbound_values, labels, color_scheme, title="")
|
198 |
st.plotly_chart(donut_fig, use_container_width=True)
|
199 |
|
200 |
|