🌍 Public
Viewing a saved revision (read-only)
336d7e823a9f4a49abc7c60b62333b03
ICE 8
This example renders a map of India from a GeoJSON file, displaying its states as individual paths. The visualization fills the entire browser window and uses distinct white strokes to delineate each country boundary, creating a clean, geographic outline. The code builds the graphic with the `d3.select` API for DOM selection and the `d3.geoPath` projection for converting geographic coordinates into SVG paths, leveraging the `d3` and `topojson-client` libraries. It defines the map purely as vector shapes without additional thematic data, offering a straightforward cartographic view.
AI-generated descriptionMIT Licensed