GMARTINEZMILLA commited on
Commit
1369e67
1 Parent(s): 89cddd0

feat: updated website

Browse files
Files changed (1) hide show
  1. app.py +1 -11
app.py CHANGED
@@ -205,19 +205,9 @@ if page == "Summary":
205
  fig_cluster.update_layout(
206
  scene=dict(aspectratio=dict(x=1, y=1, z=0.8)), # Adjusted aspect ratio for better balance
207
  margin=dict(t=10, b=10, l=10, r=10), # Tighten margins further
208
- height=300, # Slightly increased height for better visibility
209
  )
210
  st.plotly_chart(fig_cluster, use_container_width=True)
211
-
212
- st.markdown('#### Sales by Cluster')
213
-
214
- # Replace with your own sales data
215
- sales_data = {'Cluster': ['Cluster 1', 'Cluster 2', 'Cluster 3', 'Cluster 4'],
216
- 'Sales': [400000, 600000, 500000, 300000]}
217
- df_sales = pd.DataFrame(sales_data)
218
- fig_sales = px.bar(df_sales, x='Cluster', y='Sales')
219
- fig_sales.update_layout(paper_bgcolor=plot_bgcolor, plot_bgcolor=plot_bgcolor)
220
- st.plotly_chart(fig_sales, use_container_width=True)
221
 
222
  # Right Column (Blue): Key Metrics Overview and Data Preparation Summary
223
  with col3:
 
205
  fig_cluster.update_layout(
206
  scene=dict(aspectratio=dict(x=1, y=1, z=0.8)), # Adjusted aspect ratio for better balance
207
  margin=dict(t=10, b=10, l=10, r=10), # Tighten margins further
208
+ height=500, # Slightly increased height for better visibility
209
  )
210
  st.plotly_chart(fig_cluster, use_container_width=True)
 
 
 
 
 
 
 
 
 
 
211
 
212
  # Right Column (Blue): Key Metrics Overview and Data Preparation Summary
213
  with col3: