🌍 Public
Viewing a saved revision (read-only)
577f9d06d16341939b7e1edd7e6a7f3c
Making a Bar Chart
This example displays a horizontal bar chart of population figures for ten countries, sourced from a CSV file. The visualization uses D3.v7 to load the data, scale the bars with a linear population axis and a banded country axis, and render SVG rectangles with steelblue fill. It also demonstrates axis generation, margins, and basic SVG styling for a clean, readable chart.
AI-generated descriptionAn example including some commonly used features of SVG.