Skip to main content
100%

Fork of Choropleth Map with D3 2 and SVG Final

✓ Published0🌍 Public
CChawin Sungwalngern
Last edited Dec 27, 2022
Created on Dec 27, 2022

This interactive world map uses a geoStereographic projection to display which countries Chawin S. has visited, with each nation colored according to its `adm0_dif` value via a spectral color scale. The visualization is built with D3 v5, using `d3.geoPath` for rendering country boundaries and a custom legend component. Country names and visit data are joined from a TSV file hosted on GitHub with world atlas GeoJSON from unpkg, linked by ISO numeric codes. Hovering over a country highlights it in pink and shows a tooltip with its name and visit status.

AI-generated description

Interactive Worldmap with geoStereographic view. It demonstarte which countries Chawin S. has visited. The Orange color on the map indicate that the JSON file is responsive. The problem is I manupulate on only tsv but json.

dataForclass-HW/test3 - Sheet1.tsv

Bostock: Dataset for title function to return country names

The Data is pulled from unpkg file and linked based on adm0_dif. The data can be change if prefer.

MIT Licensed

Similar vizzes