add jurney animation

This commit is contained in:
2026-06-15 00:06:10 +09:00
parent c9c94d670f
commit bd001a71fa
4 changed files with 448 additions and 2 deletions

View File

@@ -81,9 +81,9 @@
}
function updateAllFills() {
if (!_paths || !_g) return;
const sel = getSelected();
const hc = getHomeCountryCode();
if (!_paths || !_g) return;
_paths.attr('fill', d => countryColor(d, sel, hc));
_g.selectAll('.micro-state').attr('fill', d => countryColor(d, sel, hc));
}