Spaces:
Sleeping
Sleeping
GMARTINEZMILLA
commited on
Commit
•
000939e
1
Parent(s):
10e6d40
feat: updated website
Browse files
app.py
CHANGED
@@ -197,8 +197,6 @@ if page == "Summary":
|
|
197 |
|
198 |
# Middle Column (White): 3D Cluster Model and Bar Chart
|
199 |
with col2:
|
200 |
-
st.markdown('#### 3D Customer Clusters')
|
201 |
-
|
202 |
# Create 3D PCA plot using actual data from pca_data_5
|
203 |
fig_cluster = px.scatter_3d(
|
204 |
pca_data_5,
|
@@ -207,7 +205,7 @@ if page == "Summary":
|
|
207 |
z='PC3',
|
208 |
color='cluster_id',
|
209 |
hover_name='CustomerID',
|
210 |
-
title='3D PCA Customer Clusters'
|
211 |
)
|
212 |
fig_cluster.update_layout(
|
213 |
scene=dict(aspectratio=dict(x=1, y=1, z=0.8)), # Adjusted aspect ratio for better balance
|
|
|
197 |
|
198 |
# Middle Column (White): 3D Cluster Model and Bar Chart
|
199 |
with col2:
|
|
|
|
|
200 |
# Create 3D PCA plot using actual data from pca_data_5
|
201 |
fig_cluster = px.scatter_3d(
|
202 |
pca_data_5,
|
|
|
205 |
z='PC3',
|
206 |
color='cluster_id',
|
207 |
hover_name='CustomerID',
|
208 |
+
title='#### 3D PCA Customer Clusters'
|
209 |
)
|
210 |
fig_cluster.update_layout(
|
211 |
scene=dict(aspectratio=dict(x=1, y=1, z=0.8)), # Adjusted aspect ratio for better balance
|