🌍 Public
Viewing a saved revision (read-only)
ca06213dba4843f1939b1e851ef10633
Customizing Axes
This example shows a horizontal dot plot of the world’s ten most populous countries, with each country represented by a circle positioned along a linear population axis. The y-axis uses a point scale for country names, while the x-axis is customized with tick formatting that converts large numbers into abbreviated “B” for billions. Built with D3 v6, the code uses `scaleLinear`, `scalePoint`, `axisBottom`, and `axisLeft`, and removes default domain lines to streamline the chart’s appearance. Data is loaded from a CSV file and rendered as SVG circles.
AI-generated description