Activity6_Question1.1
✓ Published1🌍 Public
This bar chart displays the population of ten countries for the year 2000, sorted with a horizontal layout. Built with the React framework and D3 v5, it uses `scaleBand` for the categorical y-axis and `scaleLinear` for the numeric x-axis, rendering SVG rectangles via the `Marks.js` component. Data is loaded asynchronously from a CSV file using D3's `csv` function, with tick formatting converting values to a compact "B" (billions) notation.
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