🌍 Public
Viewing a saved revision (read-only)
6549d282d59f439b8164cda85342a3f9
Activity 6_Question 1.1
This bar chart displays the population of ten countries in 2010, sourced from a CSV file. It uses React to render SVG elements, with D3 v5 handling data loading via `csv`, scales through `scaleBand` and `scaleLinear`, and axis generation. The bar marks include tooltips, and the x-axis labels are formatted using D3's `format` function.
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.