Fork of Fork of Task 8_Task 1.2
✓ Published0🌍 Public
This bar chart displays the population of 20 countries in 2010, sourced from a CSV loaded via the `d3.csv` API. The React application uses `d3.scaleBand` for the categorical y-axis and `d3.scaleLinear` for the numeric x-axis. Horizontal bar marks are rendered as SVG `<rect>` elements, with `d3.format` applied to axis tick labels, showing values in billions. The code demonstrates local ES6 module imports and component composition.
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