Activity - 6_Question - 1.1
✓ Published0🌍 Public
This horizontal bar chart displays the population of ten countries in the year 2000, ranked by country name on the y-axis and population on the x-axis. Built with React and D3 v5, it uses `scaleBand` for the categorical y-dimension, `scaleLinear` for the numeric x-dimension, and formats tick labels with `format('.2s')` to show values in billions. The data is loaded from a remote CSV file using D3's `csv` function, and the SVG rendering includes tooltips on each bar via the `title` element.
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