Spaces:
Sleeping
Sleeping
GMARTINEZMILLA
commited on
Commit
•
10e6d40
1
Parent(s):
e00ad5f
feat: updated website
Browse files
app.py
CHANGED
@@ -216,6 +216,16 @@ if page == "Summary":
|
|
216 |
)
|
217 |
st.plotly_chart(fig_cluster, use_container_width=True)
|
218 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
219 |
# Right Column (Blue): Key Metrics Overview and Data Preparation Summary
|
220 |
with col3:
|
221 |
st.markdown('#### Key Metrics Overview')
|
|
|
216 |
)
|
217 |
st.plotly_chart(fig_cluster, use_container_width=True)
|
218 |
|
219 |
+
st.markdown('#### Sales by Cluster')
|
220 |
+
|
221 |
+
# Replace with your own sales data
|
222 |
+
sales_data = {'Cluster': ['Cluster 1', 'Cluster 2', 'Cluster 3', 'Cluster 4'],
|
223 |
+
'Sales': [400000, 600000, 500000, 300000]}
|
224 |
+
df_sales = pd.DataFrame(sales_data)
|
225 |
+
fig_sales = px.bar(df_sales, x='Cluster', y='Sales')
|
226 |
+
fig_sales.update_layout(paper_bgcolor=plot_bgcolor, plot_bgcolor=plot_bgcolor)
|
227 |
+
st.plotly_chart(fig_sales, use_container_width=True)
|
228 |
+
|
229 |
# Right Column (Blue): Key Metrics Overview and Data Preparation Summary
|
230 |
with col3:
|
231 |
st.markdown('#### Key Metrics Overview')
|