Skip to main content
100%

Untitled

✓ Published0🌍 Public
SSNarasimhar
Last edited Jul 9, 2022
Created on Jul 8, 2022
Forked from D3 Starter

This example displays a map of France, rendered in yellow on a pink background using a Mercator projection centered on the country. The visualization loads GeoJSON data from an external URL, filters the dataset to select only the feature named "France", and draws it as an SVG path using `d3.geoPath` with a `d3.geoMercator` projection. The code relies on D3 v4's `d3.json` method to fetch the geographic data and applies a custom scale and translation to position the map within the 540x400 pixel canvas.

AI-generated description

A demonstration of how to start using D3 version 6.

MIT Licensed

Similar vizzes