Question 1_Activity 6
✓ Published0🌍 Public
This chart shows the population of the top 10 countries in the year 2000, using a horizontal bar chart with a linear scale for the x-axis and a band scale for the y-axis. It uses React to render SVG elements, with D3 functions such as `scaleLinear`, `scaleBand`, and `format` for axis ticks and tooltips. Data is loaded as CSV from a GitHub repository and parsed using D3’s `csv` method.
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