Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Mexico Waste 2018 Choropleth Pass2

Public visualization

Viewing a saved revision (read-only)

d5d8e34db65043989ba1176c849c9be0

Fork of Mexico Waste 2018 Choropleth Pass2

0 stars1🌍 Public
AAndres de la Garza
Last edited Mar 25, 2021
Created on Mar 24, 2021

This choropleth maps municipal solid waste generation across Mexican states using a Mercator projection, with a sequential viridis color scale encoding waste kilograms from a 2018 dataset. The visualization renders geographic boundaries and graticules via `d3.geoPath` and `d3.geoGraticule`, while React manages state and data loading through custom hooks. State geometries come from TopoJSON processed with `topojson.feature` and `topojson.mesh`, and the color encoding uses `d3.scaleSequential` with `d3.interpolateViridis`. Missing regions appear blue, and CSV data is fetched and parsed with `d3.csv`.

AI-generated description

used arcgis.com data for plotting states and boundaries mapshaper.org to create JSON of states witin mexico using mercator projection Still need to center on the rendered image