🌍 Public
Viewing a saved revision (read-only)
4284673cad074d6f944cd9bfb7f7ec0b
Activity-6
A horizontal bar chart displays the 2020 population estimates for thirty countries, ranked by value. Built with React and D3 v5, it maps country names to the y-axis and population counts to the x-axis. The visualization uses D3's `scaleBand` and `scaleLinear` for scales, formats axis ticks with `format('.2s')`, and renders SVG rectangles with hover tooltips. Data is loaded from a remote CSV file via D3's `csv` function.
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.