🌍 Public
Viewing a saved revision (read-only)
a2450d6916fa48dfbb0339eb094ed034
中国地图
A choropleth map of China renders each province as an SVG path using a Mercator projection centered on the country. The D3.js code loads GeoJSON map data and applies a categorical color scale, with provinces highlighted yellow on mouseover. Province names are positioned using projected centroid coordinates, with a vertical offset applied to prevent overlap between Macau and Hong Kong labels. The visualization demonstrates D3’s geographic path generator (`d3.geoPath`) and projection utilities.
AI-generated descriptionA visualization constructed using the vega-lite-api.