D3 in Action Chapter 7 - Example 1
This example renders a world map from GeoJSON data using D3.js version 3.5.5. It displays country boundaries as gray, semi-transparent polygons with black outlines on an SVG canvas. The code loads `world.geojson` via `d3.json()`, applies a Mercator projection with `d3.geo.mercator()` and `scale(277)`, and draws each feature using `d3.geo.path()` with the projection applied. The map is sized at 1000 by 1000 pixels, centered via the projection's translate settings.
AI-generated descriptionThis is the code for Chapter 7, Figure 3 from D3.js in Action demonstrating how to load GeoJSON data and render it using d3.geo.path() and d3.geo.projection().
forked from <a href='http://bl.ocks.org/emeeks/'>emeeks</a>'s block: <a href='http://bl.ocks.org/emeeks/4b3f4b7d23cc4d64cf87'>Ch. 7, Fig. 3 - D3.js in Action</a>