Activity 7
✓ Published0🌍 Public
This example displays a horizontal bar chart comparing the 2020 populations of 20 countries, using data loaded from a CSV file. The visualization is built with React and D3 v5, rendering as an SVG. It uses `scaleBand` for the categorical y-axis and `scaleLinear` for the quantitative x-axis, with bars colored light green. Mouse-over tooltips, generated via a `<title>` element, reveal the population values in a formatted, abbreviated style (e.g., using "B" for billions).
AI-generated descriptionA demonstration of how to start using D3 version 6.
MIT Licensed