Skip to main content
100%

United Kingdom - Country Map

✓ Published0🌍 Public
LLakshmanRangisetti
Last edited Jul 16, 2023
Created on Jul 16, 2023
Forked from Hello VizHub

This example displays a choropleth map of the United Kingdom using a green fill with black borders. It loads geographic data from the world-atlas TopoJSON file, extracts the United Kingdom feature, and projects it with a Mercator projection using `d3.geoMercator` and `d3.geoPath`. The map is rendered as an SVG path element within a 960×500 canvas, with data fetched via `d3.json`.

AI-generated description

An example showing the capabilities of VizHub:

  • Loads D3 via UNPKG.
  • Demonstrates use of import from "d3".
  • Demonstrates use of import from local ES6 modules.
MIT Licensed

Similar vizzes