🌍 Public
Viewing a saved revision (read-only)
f01ca680850e4ff78ad44f1c48c7f07e
Activity6_Q1.2
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 descriptionAn example showing the capabilities of VizHub:
- Loads D3 via UNPKG.
- Demonstrates use of
importfrom"d3". - Demonstrates use of
importfrom local ES6 modules.