Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity 8 Country

Public visualization

Viewing a saved revision (read-only)

4b1d9469a6e24c288ef14f7144b42c2d

Activity 8 Country

0 stars2🌍 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.