Activity 6_Q 1.1
✓ Published0🌍 Public
This example presents a horizontal bar chart ranking the ten most populous countries in the year 2000, sourced from a CSV file of global population data. Using D3 v5, it loads the data via `d3.csv`, scales the bars with `scaleLinear` and `scaleBand`, and renders the visualization as SVG elements. The chart includes customized axes with tick formatting and labeled titles, with bars sorted by population in descending order to highlight country rankings.
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