Customizing Axes
✓ Published0🌍 Public
This example displays the top 10 most populous countries in 2018, based on United Nations data, using a circle-based bar chart. It highlights axis customization through D3 v5’s `axisLeft` and `axisBottom` scales, with a linear scale for population and a point scale for country names. The SVG rendering includes custom tick sizes, removed domain lines, and styled text, while the data is loaded from a CSV file.
AI-generated descriptionThis 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. It also demonstrates customization of D3 axes.
See also the first bar chart visualization that this one builds on: Making a Bar Chart.
MIT Licensed