Choropleth
✓ Published0🌍 Public
Aandrewxhill
Last edited Jan 3, 2013
Created on Jan 3, 2013
A world map rendered as a choropleth shades countries by population using a linear color scale. The visualization loads GeoJSON country borders from a CartoDB SQL query and draws them with D3’s `d3.geo.path` and a Robinson projection (`d3.geo.robinson`), with a graticule outline for the globe background. A `d3.behavior.zoom` handler pans and scales the entire SVG group, while mouseover and mouseout events adjust stroke width and fill opacity on individual country paths.
AI-generated description