Customizing Axes
✓ Published0🌍 Public
This example displays a horizontal bar chart of the top 10 most populous countries using 2018 United Nations population estimates. It highlights customization of D3 axes, including removing the domain lines and tick marks on the left axis, formatting bottom axis tick labels with `d3.format` to abbreviate values, and adding a custom axis label. The chart uses `d3.scaleLinear` and `d3.scaleBand` with SVG rendering.
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.
MIT Licensed