From 623ae07ebacb9d596b225179727dc87641ad1cca Mon Sep 17 00:00:00 2001 From: Christian Cleberg Date: Fri, 17 Apr 2026 19:41:31 -0500 Subject: phase 2-6: complete D3/TopoJSON migration MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Replace ZingChart + jQuery with D3 v7 + TopoJSON. Implements all planned phases: choropleth map (NaturalEarth1 projection, YlOrRd gradient), hover tooltip, zoom/pan/reset, country detail modal, side-by-side compare, metric selector, label toggle, donut pie chart with per-country drilldown bar chart. Upgrades Bootstrap JS bundle from v4.5.3 (jQuery-dependent) to v5.0.0, fixes modal API calls to use getInstance/constructor pattern compatible with BS 5.0.0+. Removes jquery, zingchart ×3 library files. --- index.html | 440 ++++++++++++++++++++----------------------------------------- 1 file changed, 144 insertions(+), 296 deletions(-) (limited to 'index.html') diff --git a/index.html b/index.html index 0915286..1c49d94 100644 --- a/index.html +++ b/index.html @@ -8,81 +8,22 @@ name="description" content="An interactive world map of incarceration statistics with optional choropleth overlays. Explore the map, compare countries, and dive into the source data." /> - - - - - - - - - - - - - + + + + + + + + + + + + + - + @@ -105,165 +46,106 @@ > - @@ -272,144 +154,125 @@ - + + + + + + + + + + + + - +