Activity6_Question1
✓ Published2🌍 Public
This bar chart visualizes the population of ten countries in the year 2000, ordered along a categorical y-axis. The visualization uses React and D3 v5 to render an SVG, with `d3.scaleBand` and `d3.scaleLinear` mapping country names to horizontal bar lengths. Data is loaded from a remote CSV file via `d3.csv`, with population values converted from thousands. Axis ticks and bar tooltips are formatted using `d3.format`, and the chart includes styled axis lines and labels.
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