USA Map By Sushil
✓ Published0🌍 Public
This example displays a choropleth-style map of the United States using SVG. It shows state boundaries rendered as red strokes on a blank canvas, with states that change to blue on hover. The visualization loads TopoJSON data from `https://d3js.org/us-10m.v1.json` and converts it to GeoJSON features using `topojson.feature`. It draws the map with `d3.geoPath` and applies a mesh via `topojson.mesh` to outline borders. The styling uses CSS for hover effects and stroke widths.
AI-generated descriptionMIT Licensed