Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

ICE-8: Country Map

Public visualization

ICE-8: Country Map

0 stars0🌍 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.

Comments

Sign in to join the discussion.

MIT Licensed