Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

ICE - 8 Making Maps (Country Map)

Public visualization

ICE - 8 Making Maps (Country Map)

0 stars1🌍 Public
SSushmareddy-gudipally
Last edited Apr 4, 2022
Created on Apr 4, 2022

This example renders a static country map, displaying the United States in isolation from a global dataset. It uses the D3.js library (v5) and the TopoJSON library to load and process world country boundaries from a JSON file. The map is drawn using SVG paths, with the `d3.geoAlbersUsa` projection and `d3.geoPath` API to generate the geographic shapes. The code filters the loaded data to select only the United States for display, styling it with brown fill and a black stroke.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed