Skip to main content
100%

地图的交互

✓ Published0🌍 Public
HHillKinsh
Last edited Dec 28, 2020
Created on Dec 27, 2020
Forked from map of d3

This visualization displays a world map rendered with D3 v5 using the geoMercator projection and topojson data from the world-atlas package. Country boundaries are drawn as SVG paths, colored green with a red hover effect, and each country includes a title tooltip showing its name from the accompanying TSV file. The map supports interactive zooming and panning through d3.zoom, which applies a transform to the grouped SVG elements. Population data from a local CSV is loaded but not yet visualized, leaving the focus on the geographic interaction.

AI-generated description

A map of d3js. HTML page demonstrating use of CSS and JavaScript

MIT Licensed

Similar vizzes