Fork of Act6_Q1.2
✓ Published0🌍 Public
This example shows the populations of the top 20 countries in 2010 as a horizontal bar chart. The visualization uses D3 v5’s `scaleBand` for the categorical y-axis and `scaleLinear` for the quantitative x-axis, with SVG rectangles rendered via React. Data is loaded from a CSV using D3’s `csv` parser and formatted with `format('.2s')`. The chart includes styled axes and tooltips that display each bar’s value.
AI-generated descriptionA demonstration of how to start using D3 version 6.
MIT Licensed