Skip to main content
100%

ICE-8: Country Map

✓ Published0🌍 Public
CChaitanya Galla
Last edited Apr 1, 2022
Created on Mar 30, 2022
Forked from HTML Starter

This example renders a country map using D3.js v4 with a Mercator projection, centering and scaling to zoom in on England. It loads GeoJSON data asynchronously via `d3.json`, filters the features to include only England, and draws the result as SVG paths using `d3.geoPath`. The map is filled with a single grey color and no stroke, displaying the country’s outline on a blank canvas.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

MIT Licensed

Similar vizzes