Spaces:
Running
Running
ping98k
commited on
Commit
·
c67d118
1
Parent(s):
d9f99cf
Enhance K-Means clustering visualization by increasing scatter plot width to improve clarity
Browse files- index.html +2 -3
index.html
CHANGED
|
@@ -60,9 +60,8 @@
|
|
| 60 |
<div id="progress-bar-inner"></div>
|
| 61 |
</div>
|
| 62 |
<div class="plot-container">
|
| 63 |
-
<div id="plot-scatter" style="width:
|
| 64 |
<div id="plot-heatmap" style="width:500px; height:500px;"></div>
|
| 65 |
-
|
| 66 |
</div>
|
| 67 |
<script src="https://cdn.plot.ly/plotly-2.32.0.min.js"></script>
|
| 68 |
<script type="module">
|
|
@@ -198,7 +197,7 @@
|
|
| 198 |
Plotly.newPlot("plot-scatter", traces, {
|
| 199 |
xaxis: { title: "UMAP-1", scaleanchor: "y", scaleratio: 1 },
|
| 200 |
yaxis: { title: "UMAP-2", scaleanchor: "x", scaleratio: 1 },
|
| 201 |
-
width:
|
| 202 |
height: 500,
|
| 203 |
margin: { t: 40, l: 40, r: 10, b: 40 },
|
| 204 |
title: `K-Means Clustering (k=${k})`
|
|
|
|
| 60 |
<div id="progress-bar-inner"></div>
|
| 61 |
</div>
|
| 62 |
<div class="plot-container">
|
| 63 |
+
<div id="plot-scatter" style="width:1000px; height:500px;"></div>
|
| 64 |
<div id="plot-heatmap" style="width:500px; height:500px;"></div>
|
|
|
|
| 65 |
</div>
|
| 66 |
<script src="https://cdn.plot.ly/plotly-2.32.0.min.js"></script>
|
| 67 |
<script type="module">
|
|
|
|
| 197 |
Plotly.newPlot("plot-scatter", traces, {
|
| 198 |
xaxis: { title: "UMAP-1", scaleanchor: "y", scaleratio: 1 },
|
| 199 |
yaxis: { title: "UMAP-2", scaleanchor: "x", scaleratio: 1 },
|
| 200 |
+
width: 1000,
|
| 201 |
height: 500,
|
| 202 |
margin: { t: 40, l: 40, r: 10, b: 40 },
|
| 203 |
title: `K-Means Clustering (k=${k})`
|