Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

World Map visualization with D3.js!

Public visualization

World Map visualization with D3.js!

0 stars0🌍 Public
BBajiSharifPatan@my.unt.edu
Last edited Apr 4, 2022
Created on Apr 4, 2022

This example displays a world map using D3.js v5 and TopoJSON, rendering countries as red SVG paths with blue strokes on a green spherical backdrop. It uses `d3.geoEquirectangular` for the projection and `d3.geoPath` to generate the country shapes from the `world-atlas` dataset’s countries-110m.json file. Hovering over a country changes its fill color to brown, highlighting individual nations.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed