Skip to main content
100%

Customizing Axes

✓ Published0🌍 Public
TTrustPaul
Last edited Nov 19, 2020
Created on Nov 19, 2020
Forked from 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
MIT Licensed

Similar vizzes