practice16-make a map
✓ Published1🌍 Public
This practice builds a world map with D3.js using the Natural Earth projection via `geoNaturalEarth1` and `geoPath`, rendering country shapes as SVG paths colored by economic classification. It loads TopoJSON and TSV data from the world-atlas package, merges them with `loadAndProcessData`, and applies a sequential `scaleOrdinal` with `schemeSpectral` to map categories. A color legend is generated with `colorLegend`, and zoom interaction is enabled through `d3.zoom`.
AI-generated descriptionDemonstrates fundamental DOM manipulation using D3.js by making a smiley face whose eyebrows move.
MIT Licensed