🌍 Public
Viewing a saved revision (read-only)
2a08fc9d550d4b20a013c3bc36679e44
Margin Convention
This visualization displays the top 10 most populous countries as horizontal bars using D3 scales and React. It loads UN population data from a CSV via `d3.csv` and renders SVG rectangles with `scaleBand` for country positioning and `scaleLinear` for population values. The chart applies a margin convention by translating the SVG group to ensure padding around the plot area.
AI-generated descriptionA program that shows the top 10 most populous countries as a pathetic bar chart with no axes.