Skip to main content
100%

Activity 8 Country

✓ Published2🌍 Public
SSwapna1915
Last edited Jul 5, 2023
Created on Jul 5, 2023
Forked from Hello VizHub

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 description

An example showing the capabilities of VizHub:

  • Loads D3 via UNPKG.
  • Demonstrates use of import from "d3".
  • Demonstrates use of import from local ES6 modules.
MIT Licensed

Similar vizzes