Skip to main content
100%

Fork of D3 Starter

✓ Published0🌍 Public
YYiorgos Bagakis
Last edited Dec 10, 2022
Created on Dec 9, 2022
Forked from D3 Starter

This example displays the outline of Greece as a gray, black-stroked SVG path centered on a blank page. It fetches a remote GeoJSON file containing Greek boundaries, filters the data to the single feature named “Greece,” and projects it using a Mercator projection (`d3.geoMercator`) with a scale of 3000. The path is drawn with `d3.geoPath`, and the code uses `d3.fetch` to load the data and D3 v7 to append the SVG element.

AI-generated description

A demonstration of how to start using D3 version 6.

MIT Licensed

Similar vizzes