Fork of Fork of Activity6_population_question1
✓ Published0🌍 Public
This example displays a horizontal bar chart of the top 10 most populous countries in the year 2000, using fetched CSV data parsed with `d3.csvParse`. The visualization sorts the data by population and renders bars via SVG `rect` elements, with axes from `d3.axisBottom` and `d3.axisLeft`. It loads D3 from UNPKG and uses a local ES6 module, `fetchData`, to retrieve the dataset from a GitHub raw URL.
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