🌍 Public
Viewing a saved revision (read-only)
844db001cfd34d98ad1fdcf6c2918295
Activity_6_Task_1_Q1.1
A horizontal bar chart displays the population of the top 10 countries in the year 2000, using a linear scale for population values and a band scale for country names. The visualization is built with React and D3 v5, rendering SVG elements through reusable components for axes and marks. Data is loaded from a remote CSV file using D3’s `csv` function and formatted with the `format` utility. Each bar includes a tooltip showing the population value via a native SVG `<title>` element.
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.