Activity 6 Tutorial 1
✓ Published1🌍 Public
This horizontal bar chart displays the population of 30 countries for the year 2020, with country names labeled along the y-axis and population values represented by bar lengths along the x-axis. The visualization uses React with D3 v5’s `scaleBand` and `scaleLinear` to map the data, and renders SVG rectangles through custom `Marks`, `AxisBottom`, and `AxisLeft` components. Population values are formatted with D3’s `format` function, and the data is loaded asynchronously from a CSV file using `d3.csv`.
AI-generated descriptionMIT Licensed