Activity-6 Q1.2
✓ Published0🌍 Public
This bar chart displays the population of 20 countries in 2010, sourced from a CSV file loaded via `d3.csv`. The visualization uses React with D3 v5, employing `scaleBand` for the categorical y-axis and `scaleLinear` for the quantitative x-axis. SVG rectangles represent each country, with `d3.format` providing tick labels that abbreviate large numbers. The chart includes styled axes with blue grid lines, and hover tooltips reveal precise values via native SVG `<title>` elements.
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