activity 6_Q1.2
✓ Published0🌍 Public
This example displays a horizontal bar chart ranking the populations of 20 countries in 2010, using a linear scale for population values and a band scale for country names. The visualization is built with React and D3 v5, leveraging `scaleBand`, `scaleLinear`, `max`, and `format` for axes and tick labels. Data is loaded from a CSV file via `d3.csv` and rendered as SVG rectangles with tooltips showing formatted population values.
AI-generated descriptionA demonstration of how to start using D3 version 6.
MIT Licensed