🌍 Public
Viewing a saved revision (read-only)
d33ea020f9564748988e39acbb96b8fa
Activity6_population_question1
This bar chart shows the top 10 most populous countries in the year 2000, sorted in descending order. It uses D3.js to load data from a GitHub-hosted CSV, parse it with `d3.csvParse`, and render an SVG with `scaleBand` and `scaleLinear`. The y-axis measures population, and bars change color on hover via CSS.
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.