Activity 6_Task1.2
✓ Published1🌍 Public
This example displays a horizontal bar chart comparing the 2010 population of twenty countries, sourced from a remote CSV file. It uses React to render an SVG visualization with D3’s scale functions, including `scaleBand` for the categorical country axis and `scaleLinear` for the continuous population axis. The chart includes custom axis components and tooltips that format population values in abbreviated SI units.
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