🌍 Public
Viewing a saved revision (read-only)
2c19ef1c1ab84e97b2ed88d07169fc3d
Activity 6_Task 1
This bar chart displays population data for twenty countries in 2010, using horizontal bars with a green fill. The visualization is built with React and D3 v5, leveraging d3.scaleBand for the categorical y-axis, d3.scaleLinear for the quantitative x-axis, and d3.format to abbreviate large numbers. Data is loaded from a remote CSV file via d3.csv, and all marks and axes are rendered as SVG elements.
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.