Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

CHINA MAP

Public visualization

CHINA MAP

0 stars0🌍 Public
AAISWARYAMARAPATLA1999
Last edited Apr 6, 2023
Created on Apr 6, 2023
Forked from HTML Starter

This example displays a choropleth map of China’s administrative regions, rendered as brown filled paths with white borders on a light yellow background. The visualization loads GeoJSON data for Chinese provinces and projects it using the equirectangular projection from `d3.geoEquirectangular`, with path generation handled by `d3.geoPath`. Users can pan and zoom the map via `d3.zoom`, which transforms the SVG group containing the state paths. The code integrates React, TopoJSON for feature extraction, and D3’s `scaleOrdinal` and `schemeCategory10` for potential color encoding.

AI-generated description

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

See also React Starter.

Comments

Sign in to join the discussion.

MIT Licensed