Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Project Algernon - Drawing a map

Public visualization

Viewing a saved revision (read-only)

935fc26f84f74d669b599a0708db1219

Project Algernon - Drawing a map

0 stars1🌍 Public
JJames Rhodes
Last edited Apr 14, 2022
Created on Apr 14, 2022
Forked from Hello VizHub

A choropleth-style map of China rendered with React and D3.v7 draws each land feature as an SVG path, filled with a solid green hue. Using a GeoJSON topology from a GitHub-hosted file, the code relies on `d3.geoMercator` for projection, `d3.geoPath` for converting features to path data, and `topojson.feature` to transform the topology. The map is scaled and translated to fit the 960-by-500 viewport, displaying the country's shape without additional styling.

AI-generated description

Project Algernon - mapping China