Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Let's make a map with D3.js!

Public visualization

Fork of Let's make a map with D3.js!

0 stars0🌍 Public
LLuiz Miguel Viana Barbosa
Last edited Sep 2, 2021
Created on Sep 2, 2021

The visualization renders a geographic map of Brazil using D3.js v5 and TopoJSON, displaying state boundaries as light-green polygons with a blue sphere background. It loads geographic data from an external Gist URL via `d3.json`, then applies the `geoNaturalEarth1` projection and `geoPath` to generate SVG paths. While the code fetches and logs the data to the console, it does not yet draw the state shapes—only the sphere outline is visible. The example demonstrates a basic map setup using SVG rendering and asynchronous data loading.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed