Question 1.2
✓ Published0🌍 Public
A horizontal bar chart displays the population of 20 countries in 2010, with bars sorted by country name and labeled along the left axis. The visualization uses React to render SVG elements, with D3’s `scaleBand` and `scaleLinear` for positioning, and custom `AxisBottom`, `AxisLeft`, and `Marks` components. Data is loaded via D3’s `csv` from a GitHub-hosted CSV file, and tick labels are formatted using D3’s `format`.
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