🌍 Public
Viewing a saved revision (read-only)
b2ca84333f564003a4d186cd0f54bbe3
Activity6_task1
A horizontal bar chart displays the 2020 populations of 30 countries, sourced from a CSV file. Built with React and D3 v5, it uses `scaleBand` for the categorical country axis and `scaleLinear` for the population axis. SVG rectangles render the bars, with tooltips showing formatted values via `format('.2s')`. The chart includes custom `AxisBottom` and `AxisLeft` components for ticks and labels.
AI-generated descriptionA demonstration of how to start using D3 version 6.