Skip to main content
100%

Customizing Axes

✓ Published0🌍 Public
BBaodi
Last edited Apr 18, 2019
Created on Apr 18, 2019
Forked from Customizing Axes

This example visualizes the top 10 most populous countries as circles, using D3 v5 to map population values along the x-axis. The code loads data from a CSV file via `d3.csv` and applies `scaleLinear` with `.nice()` to create both axes, customizing tick formats with `d3.format`. Grid lines are drawn using negative `tickSize` values, and axis domains are removed. The chart includes styled axis labels and a title, with data sourced from the United Nations World Population Prospects 2017 report.

AI-generated description

This bar chart shows population of the top 10 most populous countries. The data comes from the year 2018 estimate in United Nations: World Population Prospects 2017.

MIT Licensed

Similar vizzes