Activity 6_task1
✓ Published0🌍 Public
This bar chart displays the population of ten countries in the year 2000. The visualization uses React with D3 v5 to load CSV data from a GitHub repository, scale the bars using `scaleBand` and `scaleLinear`, and render the chart as SVG. The code defines custom `AxisBottom`, `AxisLeft`, and `Marks` components to draw axes and rectangles, with tooltips formatted using D3's `format`. The chart includes a labeled x-axis and uses a Poppins font.
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