Fork of Activity 6_Question1_task2
✓ Published0🌍 Public
This visualization shows a horizontal bar chart comparing the populations of 20 countries in 2010. Each bar’s length corresponds to the population value, with a blue axis line and tick marks, green bars, and a labeled x-axis. The chart is built with React and D3 v5, using `scaleBand` for the categorical y-axis and `scaleLinear` for the numeric x-axis, while the `csv` function loads data from a remote GitHub URL. Tooltips display formatted population values via the `format` function.
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