Fork of Task8_Tutorial1_Question1.1HKK
✓ Published1🌍 Public
This bar chart displays the 2010 population of the top 20 countries from a CSV file loaded via `d3.csv`, with bars colored blue. It uses React to render SVG elements, with `d3.scaleBand` and `d3.scaleLinear` for axes, `d3.format` to abbreviate tick labels, and custom `AxisBottom` and `AxisLeft` components. Ticks are styled with red lines, and hovering reveals tooltips via SVG `<title>` elements.
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