Activity 7
✓ Published0🌍 Public
This bar chart displays population figures for 30 countries in 2020, with countries listed on the vertical axis and population values on the horizontal axis. The visualization uses D3 v5 scales and React components to render SVG rectangles, with blue tick lines and green bars on a clean background. Data loads from a remote CSV file, and population values are converted from thousands using a custom row parsing function. The chart includes formatted axis labels using D3's format utility, converting values like "1.2B" for billions.
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