Activity 6_Task1 year 2000
✓ Published0🌍 Public
This bar chart displays the population of the ten most populous countries in the year 2000, sorted along a categorical y-axis with horizontal bars extending proportionally to population values. The visualization uses React and D3 v5, employing `scaleBand` for the country axis and `scaleLinear` for the population scale, with data loaded via `d3.csv` from a GitHub-hosted CSV file. SVG rectangles render the bars, with formatted tick labels showing values in billions and a tooltip on each bar. The chart includes styled axes with blue tick lines and a labeled x-axis reading "POPULATION-2000".
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.
MIT Licensed