cache timeline/7258ea44bc0c0a425a468f66f8559d1de8c4126d/jaccard-m0.html
Browse files
timeline/7258ea44bc0c0a425a468f66f8559d1de8c4126d/jaccard-m0.html
CHANGED
|
@@ -58,7 +58,7 @@ svg{ width:100vw; height:100vh; }
|
|
| 58 |
pointer-events:none;
|
| 59 |
text-anchor:middle;
|
| 60 |
font-weight:600;
|
| 61 |
-
font-size:
|
| 62 |
paint-order:stroke fill;
|
| 63 |
stroke:var(--outline);
|
| 64 |
stroke-width:3px;
|
|
@@ -107,9 +107,37 @@ svg{ width:100vw; height:100vh; }
|
|
| 107 |
stroke-opacity: 0.6;
|
| 108 |
}
|
| 109 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 110 |
.timeline-label {
|
| 111 |
fill: var(--muted);
|
| 112 |
-
font-size:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 113 |
font-weight: 600;
|
| 114 |
text-anchor: middle;
|
| 115 |
}
|
|
@@ -119,7 +147,7 @@ svg{ width:100vw; height:100vh; }
|
|
| 119 |
position:fixed; top:20px; left:20px;
|
| 120 |
background:rgba(255,255,255,.95);
|
| 121 |
padding:20px 26px; border-radius:12px; border:1.5px solid #e0e0e0;
|
| 122 |
-
font-size:
|
| 123 |
z-index: 100;
|
| 124 |
backdrop-filter: blur(8px);
|
| 125 |
max-width: 280px;
|
|
@@ -147,7 +175,7 @@ svg{ width:100vw; height:100vh; }
|
|
| 147 |
<div style='font-weight:600; margin-bottom:8px;'>Chronological Timeline</div>
|
| 148 |
🟡 base<br>🔵 modular<br>🔴 candidate<br>
|
| 149 |
<label><input type="checkbox" id="toggleRed" checked> Show candidates</label>
|
| 150 |
-
<div style='margin-top:10px; font-size:
|
| 151 |
Models positioned by creation date<br>
|
| 152 |
Scroll & zoom to explore timeline
|
| 153 |
</div>
|
|
@@ -203,6 +231,8 @@ if (timeExtent[0] && timeExtent[1]) {
|
|
| 203 |
|
| 204 |
// Enhanced year markers with better spacing
|
| 205 |
const years = d3.timeYear.range(new Date(timeExtent[0] * 1000), new Date(timeExtent[1] * 1000 + 365*24*60*60*1000));
|
|
|
|
|
|
|
| 206 |
timelineG.selectAll('.timeline-tick')
|
| 207 |
.data(years)
|
| 208 |
.join('line')
|
|
@@ -212,6 +242,15 @@ if (timeExtent[0] && timeExtent[1]) {
|
|
| 212 |
.attr('x2', d => timeScale(d))
|
| 213 |
.attr('y2', timelineY + 15);
|
| 214 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 215 |
timelineG.selectAll('.timeline-label')
|
| 216 |
.data(years)
|
| 217 |
.join('text')
|
|
@@ -219,6 +258,30 @@ if (timeExtent[0] && timeExtent[1]) {
|
|
| 219 |
.attr('x', d => timeScale(d))
|
| 220 |
.attr('y', timelineY + 30)
|
| 221 |
.text(d => d.getFullYear());
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 222 |
}
|
| 223 |
|
| 224 |
function handleZoom(event) {
|
|
@@ -280,7 +343,7 @@ if (timeScale) {
|
|
| 280 |
}
|
| 281 |
// Place undated models at the end
|
| 282 |
return timeScale.range()[1] + 100;
|
| 283 |
-
}).strength(0.
|
| 284 |
}
|
| 285 |
|
| 286 |
// Organized Y positioning using lanes instead of random spread
|
|
|
|
| 58 |
pointer-events:none;
|
| 59 |
text-anchor:middle;
|
| 60 |
font-weight:600;
|
| 61 |
+
font-size:30px;
|
| 62 |
paint-order:stroke fill;
|
| 63 |
stroke:var(--outline);
|
| 64 |
stroke-width:3px;
|
|
|
|
| 107 |
stroke-opacity: 0.6;
|
| 108 |
}
|
| 109 |
|
| 110 |
+
.timeline-month-tick {
|
| 111 |
+
stroke: var(--timeline-line);
|
| 112 |
+
stroke-width: 1px;
|
| 113 |
+
stroke-opacity: 0.4;
|
| 114 |
+
}
|
| 115 |
+
|
| 116 |
.timeline-label {
|
| 117 |
fill: var(--muted);
|
| 118 |
+
font-size: 50px;
|
| 119 |
+
font-weight: 600;
|
| 120 |
+
text-anchor: middle;
|
| 121 |
+
}
|
| 122 |
+
|
| 123 |
+
.timeline-month-label {
|
| 124 |
+
fill: var(--muted);
|
| 125 |
+
font-size: 40px;
|
| 126 |
+
font-weight: 400;
|
| 127 |
+
text-anchor: middle;
|
| 128 |
+
opacity: 0.7;
|
| 129 |
+
}
|
| 130 |
+
|
| 131 |
+
.modular-milestone {
|
| 132 |
+
stroke: #ff6b35;
|
| 133 |
+
stroke-width: 3px;
|
| 134 |
+
stroke-opacity: 0.8;
|
| 135 |
+
stroke-dasharray: 5,5;
|
| 136 |
+
}
|
| 137 |
+
|
| 138 |
+
.modular-milestone-label {
|
| 139 |
+
fill: #ff6b35;
|
| 140 |
+
font-size: 35px;
|
| 141 |
font-weight: 600;
|
| 142 |
text-anchor: middle;
|
| 143 |
}
|
|
|
|
| 147 |
position:fixed; top:20px; left:20px;
|
| 148 |
background:rgba(255,255,255,.95);
|
| 149 |
padding:20px 26px; border-radius:12px; border:1.5px solid #e0e0e0;
|
| 150 |
+
font-size:17px; box-shadow:0 4px 16px rgba(0,0,0,.12);
|
| 151 |
z-index: 100;
|
| 152 |
backdrop-filter: blur(8px);
|
| 153 |
max-width: 280px;
|
|
|
|
| 175 |
<div style='font-weight:600; margin-bottom:8px;'>Chronological Timeline</div>
|
| 176 |
🟡 base<br>🔵 modular<br>🔴 candidate<br>
|
| 177 |
<label><input type="checkbox" id="toggleRed" checked> Show candidates</label>
|
| 178 |
+
<div style='margin-top:10px; font-size:13px; color:var(--muted);'>
|
| 179 |
Models positioned by creation date<br>
|
| 180 |
Scroll & zoom to explore timeline
|
| 181 |
</div>
|
|
|
|
| 231 |
|
| 232 |
// Enhanced year markers with better spacing
|
| 233 |
const years = d3.timeYear.range(new Date(timeExtent[0] * 1000), new Date(timeExtent[1] * 1000 + 365*24*60*60*1000));
|
| 234 |
+
const months = d3.timeMonth.range(new Date(timeExtent[0] * 1000), new Date(timeExtent[1] * 1000 + 365*24*60*60*1000));
|
| 235 |
+
|
| 236 |
timelineG.selectAll('.timeline-tick')
|
| 237 |
.data(years)
|
| 238 |
.join('line')
|
|
|
|
| 242 |
.attr('x2', d => timeScale(d))
|
| 243 |
.attr('y2', timelineY + 15);
|
| 244 |
|
| 245 |
+
timelineG.selectAll('.timeline-month-tick')
|
| 246 |
+
.data(months)
|
| 247 |
+
.join('line')
|
| 248 |
+
.attr('class', 'timeline-month-tick')
|
| 249 |
+
.attr('x1', d => timeScale(d))
|
| 250 |
+
.attr('y1', timelineY - 8)
|
| 251 |
+
.attr('x2', d => timeScale(d))
|
| 252 |
+
.attr('y2', timelineY + 8);
|
| 253 |
+
|
| 254 |
timelineG.selectAll('.timeline-label')
|
| 255 |
.data(years)
|
| 256 |
.join('text')
|
|
|
|
| 258 |
.attr('x', d => timeScale(d))
|
| 259 |
.attr('y', timelineY + 30)
|
| 260 |
.text(d => d.getFullYear());
|
| 261 |
+
|
| 262 |
+
timelineG.selectAll('.timeline-month-label')
|
| 263 |
+
.data(months.filter((d, i) => i % 3 === 0))
|
| 264 |
+
.join('text')
|
| 265 |
+
.attr('class', 'timeline-month-label')
|
| 266 |
+
.attr('x', d => timeScale(d))
|
| 267 |
+
.attr('y', timelineY + 45)
|
| 268 |
+
.text(d => d.toLocaleDateString('en', { month: 'short' }));
|
| 269 |
+
|
| 270 |
+
// Modular logic milestone marker - May 31, 2024
|
| 271 |
+
const modularDate = new Date(2024, 4, 31);
|
| 272 |
+
timelineG.append('line')
|
| 273 |
+
.attr('class', 'modular-milestone')
|
| 274 |
+
.attr('x1', timeScale(modularDate))
|
| 275 |
+
.attr('y1', MARGIN.top)
|
| 276 |
+
.attr('x2', timeScale(modularDate))
|
| 277 |
+
.attr('y2', H - MARGIN.bottom);
|
| 278 |
+
|
| 279 |
+
timelineG.append('text')
|
| 280 |
+
.attr('class', 'modular-milestone-label')
|
| 281 |
+
.attr('x', timeScale(modularDate))
|
| 282 |
+
.attr('y', MARGIN.top - 10)
|
| 283 |
+
.attr('text-anchor', 'middle')
|
| 284 |
+
.text('Modular Logic Added');
|
| 285 |
}
|
| 286 |
|
| 287 |
function handleZoom(event) {
|
|
|
|
| 343 |
}
|
| 344 |
// Place undated models at the end
|
| 345 |
return timeScale.range()[1] + 100;
|
| 346 |
+
}).strength(0.75));
|
| 347 |
}
|
| 348 |
|
| 349 |
// Organized Y positioning using lanes instead of random spread
|