Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Assisgment 2 - question 2

Public visualization

Viewing a saved revision (read-only)

b0b4698efbef470c8e4b6494758ec108

Assisgment 2 - question 2

0 stars0🌍 Public
Vvaishnavi6gan@gmail.com
Last edited Apr 12, 2024
Created on Apr 12, 2024
Forked from Simple World Map

This example projects a world map from TopoJSON country boundaries using the `topojson-client` library’s `feature` function. The map is rendered into an SVG canvas via D3’s `select` and `join` operations. It fetches remote geospatial data from a GitHub gist URL, initially setting a loading state before drawing. The visualization dynamically sizes to the browser window’s width and height, displaying the geographic shapes once the data is loaded, using the `map` module for the final rendering.

AI-generated description