Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Country Map of china

Public visualization

Viewing a saved revision (read-only)

940c2484efcd4250bb6bc793e26bd480

Country Map of china

0 stars0🌍 Public
BBajiSharifPatan@my.unt.edu
Last edited Apr 3, 2022
Created on Apr 3, 2022

This visualization displays a map of India, rendered using SVG paths generated with d3.geoPath and a d3.geoMercator projection. TopoJSON data is loaded via d3.json and parsed with topojson.feature to create country boundaries, which are filled using a scaleOrdinal color scale. The map includes an interactive hover effect that changes the fill color to pink, and features a title attribute displaying the interpolateRainbow value for each region.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.