🌍 Public
Viewing a saved revision (read-only)
f5d52814e42e42f1a10894af0d5d61e3
Bar chart
This bar chart displays the populations of ten countries in 2020, sorted by country name. Using React and D3 v5, it renders SVG rectangles via a scaleBand for the categorical y-axis and a scaleLinear for the numerical x-axis. The data loads from a CSV via d3.csv. Axes are custom components, and hover tooltips use native SVG `<title>` elements with formatted population values.
AI-generated descriptionBar chart