Skip to main content
100%

Let's make a map!

✓ Published1🌍 Public
XX. N. Chu
Last edited Jun 23, 2020
Created on Jun 21, 2020
Forked from Blank Canvas

This example demonstrates a world map using an equal-earth projection, with countries rendered as light green regions and the spherical globe shown in blue. It fetches geographic data from the world-atlas package and visualizes it by applying the `geoPath` and `geoEqualEarth` functions from d3. The code uses topojson’s `feature` API to convert the TopoJSON data into GeoJSON features. Each country is drawn as an SVG path, with stroke opacity set to 0.1 for country boundaries. The entire map updates dynamically once the data is fetched and processed, displaying the complete set of countries in a single view.

AI-generated description
MIT Licensed

Similar vizzes