Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of ICE 8 country map

Public visualization

Fork of ICE 8 country map

0 stars0🌍 Public
YYerlan Yeszhanov
Last edited Nov 25, 2022
Created on Nov 25, 2022
Forked from ICE 8 country map

This example displays a choropleth-style map of India, colored with the d3.scaleOrdinal and schemeCategory10 palette, with hover states that turn regions orange. The visualization uses d3.geoMercator projection, d3.geoPath for rendering, and topojson.feature to parse GeoJSON from a geoBoundaries TopoJSON file hosted on GitHub. The React-based code loads data via d3.json, appends SVG paths, and includes zoom functionality through d3.zoom, with the map heading and styling defined in HTML and CSS.

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