diff options
| author | Christian Cleberg <[email protected]> | 2026-04-17 12:40:55 -0500 |
|---|---|---|
| committer | Christian Cleberg <[email protected]> | 2026-04-17 12:40:55 -0500 |
| commit | fd412c5197286518ff9491a1b51e6319c9a22904 (patch) | |
| tree | 8418e1e7b590907a9328919edf2fd7765a4b8d3d /assets/js/app.js | |
| parent | 9b6de370a0b6cb95f46c29f5e1827f9c418ef6cf (diff) | |
| download | world-incarceration-fd412c5197286518ff9491a1b51e6319c9a22904.tar.gz world-incarceration-fd412c5197286518ff9491a1b51e6319c9a22904.tar.bz2 world-incarceration-fd412c5197286518ff9491a1b51e6319c9a22904.zip | |
phase 2 implement
Diffstat (limited to 'assets/js/app.js')
| -rw-r--r-- | assets/js/app.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/assets/js/app.js b/assets/js/app.js index 51ff0b4..aca4ac9 100644 --- a/assets/js/app.js +++ b/assets/js/app.js @@ -2,7 +2,7 @@ import * as d3 from "https://cdn.jsdelivr.net/npm/d3@7/+esm"; import * as topojson from "https://cdn.jsdelivr.net/npm/topojson-client@3/+esm"; import { countries } from "../data/countries.js"; import { isoNumericToAlpha3 } from "../data/iso-numeric-to-alpha3.js"; -import { initMap, applyGradient, setClickHandler } from "./map/choropleth.js"; +import { initMap, applyGradient, resetGradient, setClickHandler } from "./map/choropleth.js"; import { initTooltip } from "./map/tooltip.js"; import { initZoom, resetZoom } from "./map/zoom.js"; import { renderBarChart } from "./charts/bar.js"; @@ -11,4 +11,4 @@ import { showCountryModal } from "./ui/modal.js"; import { initCompare } from "./ui/compare.js"; import { initControls, getTop5 } from "./ui/controls.js"; -// Phase 2+: wire modules together here +initMap("#map-container", countries, isoNumericToAlpha3); |
