🌍 Public
Viewing a saved revision (read-only)
97d1e73d3fe242f0baf21c7e954ac7b3
Activity 6_Question1-2
This bar chart visualizes the population of 20 countries in 2010, sorted by country name. Each bar’s length corresponds to population, with hover tooltips showing formatted values in billions. The visualization is built with React and D3 v5, using `scaleBand` for the y-axis, `scaleLinear` for the x-axis, and custom `AxisBottom`, `AxisLeft`, and `Marks` components to render SVG rectangles and tick marks. Data is loaded from a CSV file via `d3.csv`.
AI-generated descriptionA demonstration of how to start using D3 version 6.