🌍 Public
Viewing a saved revision (read-only)
3c729b3885004bd786287360edb0bcf5
Making a bar chart
This example shows a bar chart of the populations of the ten most populous countries, sorted by size. It uses D3 v5 to select the SVG element and read its width and height attributes. The chart is rendered as an SVG, with data loaded from a CSV file containing country names and population figures. The visualization directly maps the population values to the length of each bar.
AI-generated description