Activity6_Q1.2
✓ Published1🌍 Public
This horizontal bar chart visualizes the population of the first 20 countries in 2010. Built with React and D3 v5, it renders as an SVG, using `d3.csv` to load data from a remote CSV file, `d3.scaleBand` for the y-axis, and `d3.scaleLinear` for the x-axis. Rectangles represent population values, formatted with the `d3.format` function. The chart includes custom axes and a tooltip showing the formatted population value on hover.
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