Activity 8 Country
✓ Published2🌍 Public
This example displays a map of Russia using geographic data from the world-atlas TopoJSON dataset. It uses D3 v5 and the topojson-client library to extract the Russia geometry, then applies a Mercator projection with `d3.geoMercator` and `fitSize` to center the country within a 960×500 SVG canvas. The map is rendered as a single SVG path via `d3.geoPath`, with no additional styling or interactivity.
AI-generated descriptionAn example showing the capabilities of VizHub:
- Loads D3 via UNPKG.
- Demonstrates use of
importfrom"d3". - Demonstrates use of
importfrom local ES6 modules.
MIT Licensed