Task8_DataViz
✓ Published0🌍 Public
This visualization displays population figures for countries in 2010 using a horizontal bar chart. The chart uses React to render SVG elements, with D3 v5 providing scales and formatting. D3’s `scaleBand` and `scaleLinear` position the bars, while custom `AxisBottom` and `AxisLeft` components create labeled ticks. Data is loaded from a CSV file via D3’s `csv` method, and each bar includes a tooltip showing the formatted population value.
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