Fork of Activity 6_Question1_task1
✓ Published1🌍 Public
This interactive bar chart displays the 2000 population figures for ten countries, using a horizontal layout with blue tick lines and green bars. Built with React and D3 v5, it loads CSV data from a GitHub repository and renders the chart as SVG. The visualization uses `scaleBand` for the y-axis and `scaleLinear` for the x-axis, with custom `AxisBottom`, `AxisLeft`, and `Marks` components handling the drawing. Native SVG `<title>` elements provide tooltips, while tick formatting converts raw numbers into abbreviated units like "B" for billions.
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