GMARTINEZMILLA commited on
Commit
46a006c
1 Parent(s): 6b34b4f

feat: updated app script

Browse files
Files changed (1) hide show
  1. app.py +3 -3
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('#### Key Metrics')
187
- st.metric(label="Texas", value="29.0 M", delta="+367 K", 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,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