🌍 Public
Viewing a saved revision (read-only)
c3874d1895244a1d94396b1178744e29
activity 6 Task 1 Question 1
This visualization is a horizontal bar chart displaying the population of the top 10 countries in the year 2000, sorted from largest to smallest. The chart uses a linear x-scale for population values and a band scale for country categories. Built with React and D3 v5, it renders bars as SVG rectangles, with axes and tick marks generated by custom components. Data is loaded from a CSV file and formatted using D3's `format` function to display values 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.