activity6_Task 1
✓ Published2🌍 Public
This example presents a horizontal bar chart showing the 2010 population for 20 countries, sourced from a GitHub-hosted CSV file. It uses React with D3 v5 for rendering SVG elements, including `scaleBand`, `scaleLinear`, and `csv` from imported D3 modules. The chart displays population values with SI-formatted tick labels and tooltips, with axes and bars rendered through modular components. The visualization demonstrates ES6 module imports and D3 integration within a React framework.
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