activity 6_Task 1
✓ Published0🌍 Public
This bar chart shows the population of countries in 2010, with horizontal bars sorted by country name along the y-axis and population values on the x-axis. The visualization uses React and D3 v5, rendering as an SVG with scales created via `d3.scaleBand` and `d3.scaleLinear`. Data is loaded as CSV from GitHub, with the population values converted from the '2010' column and multiplied by 1000. The chart includes axis labels, tick marks, and tooltips displaying formatted population values.
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