Skip to main content
Public

Share visualization

Loading preview…

ICE - 8 Making Maps (Country Map) Maanas Katta

vizhub.com

Shared links may look like this on X, LinkedIn, Slack, and Discord.

Before sharing, review the publishing checklist.

Choose how to deliver this visualization

LinkedIn caption

LinkedIn may not keep text supplied by the share sheet. Copy the caption and paste it into the post if needed. You can tag the VizHub company page when posting.

More options

Embed on a websiteCopy iframe embed code
Download & exportPNG, HTML, source ZIP

ICE - 8 Making Maps (Country Map) Maanas Katta

10
MMaanas Katta
Last edited Apr 3, 2022
Created on Apr 1, 2022

This example shows a single highlighted map of the United States, rendered in light green with a black outline on a blue background, while other countries are omitted. It loads world country boundaries from the world-atlas TopoJSON dataset and filters the features to keep only the USA. Using d3.geoPath with a d3.geoAlbersUsa projection, the code generates SVG paths for the selected country. The implementation relies on D3 v5 modules (select, json, geoPath, geoAlbersUsa) and the topojson feature helper to extract geometries.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed