Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Country Map ICE-8

Public visualization

Viewing a saved revision (read-only)

fbb144fd3ce040e59e02de6ff6f949f5

Country Map ICE-8

0 stars0🌍 Public
Aarcothanmukha
Last edited Apr 5, 2022
Created on Apr 5, 2022

This visualization displays Indonesia as a violet-colored country on a green background, extracted from a global TopoJSON dataset of country boundaries. The code uses d3.geoAlbersUsa to project the geographic coordinates and d3.geoPath to generate SVG paths, filtering the world data to isolate Indonesia. It loads country polygons from the world-atlas TopoJSON file and renders the selected feature onto a 960×500 SVG canvas. The projection is scaled to 780 and translated to center the map, with each path styled via a CSS class.

AI-generated description