Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity6_Q1.2

Public visualization

Viewing a saved revision (read-only)

f01ca680850e4ff78ad44f1c48c7f07e

Activity6_Q1.2

0 stars0🌍 Public
Mmudunurirahulvarma98@gmail.com
Last edited Apr 3, 2024
Created on Apr 3, 2024
Forked from Hello VizHub

A horizontal bar chart displays 2010 population estimates for 20 countries, with country names on the y-axis and population counts on the x-axis. Rendered as SVG in React, the visualization uses D3 v5 utilities including `scaleBand`, `scaleLinear`, `max`, and `format` for scaling and tick labels. Data loads from a CSV via `csv`, axes are custom React components (`AxisBottom`, `AxisLeft`), and each bar includes a native SVG `<title>` tooltip formatted in billions.

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.