🌍 Public
Viewing a saved revision (read-only)
4a668f22d1144774a83b9382a23653ed
Making bar chat
This bar chart displays population figures for ten countries and political unions, using horizontal bars to compare values from China to Russia. The visualization relies on D3 v7’s `scaleLinear` and `scaleBand` to map population counts and country names, while `axisLeft` and `axisBottom` generate the axes. Data is loaded from a CSV file via `d3.csv`, and the SVG rendering applies a steelblue fill to each rectangle bar.
AI-generated descriptionAn example including some commonly used features of SVG.