Activity8_Question1.2
✓ Published0🌍 Public
A bar chart displays the populations of 20 countries from a CSV dataset focused on 2010 data, using a horizontal layout with countries on the y-axis and population values on the x-axis formatted in billions (e.g., "1.2B"). Built with React and D3 v5, the visualization employs `scaleBand` and `scaleLinear` to position bars, while `AxisBottom`, `AxisLeft`, and `Marks` components render axes and rectangles. Data is loaded asynchronously via `csv` from a GitHub raw URL, with tooltips provided by 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