Fork of Activity 6_Task 1
✓ Published1🌍 Public
This interactive bar chart displays the population of the top 10 countries in the year 2000, with each country represented by a horizontal bar. The visualization uses a React framework with D3 v5 to render SVG elements. The code employs `scaleBand` for the y-axis and `scaleLinear` for the x-axis, while the CSV data is loaded asynchronously via `csv`. The chart features customizable axis components, a green color fill for bars, and tooltips showing population values formatted in SI notation.
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