activity 6_Task 1
✓ Published0🌍 Public
This bar chart visualizes the 2020 population of 30 countries, using a horizontal layout with bars scaled by population. The visualization is built with React and D3 v5, leveraging `d3.scaleBand` and `d3.scaleLinear` for axes and `d3.format` for tick labels (e.g., converting "G" to "B"). Data is loaded from a CSV URL via `d3.csv` and rendered as SVG rectangles with tooltips. A Poppins font and CSS styles control the visual presentation.
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