🌍 Public
Viewing a saved revision (read-only)
286d6e231d8a4e1eb1737255b4e02276
activity6_q1
This interactive bar chart uses a horizontal layout to display the population estimates of ten countries for 2010, sourced from a CSV file hosted online. The visualization, built with React and D3 v5, renders SVG rectangles whose lengths are proportional to each country's population value. The code employs D3's `scaleBand` for the categorical country axis and `scaleLinear` for the quantitative population axis, with formatted axis ticks and tooltips showing the abbreviated values.
AI-generated descriptionA demonstration of how to start using D3 version 6.