Skip to main content
100%

Customazing Axes

✓ Published0🌍 Public
IIgor Borzunov
Last edited Aug 18, 2020
Created on Aug 17, 2020

This example shows a horizontal dot plot of population data for ten countries, using a pink circle for each nation positioned along a logarithmic-style axis. The chart customizes both axes by removing the default domain line, applying a tick formatter that abbreviates large numbers with "B" for billions, and extending tick marks across the plot area. Built with D3 v5, the visualization uses `scaleLinear`, `scalePoint`, `axisBottom`, and `axisLeft` to map population and country names, while loading data from a CSV file and rendering as SVG.

AI-generated description
MIT Licensed

Similar vizzes