🌍 Public
Customizing Axes
This bar chart visualizes the population of the top 10 most populous countries, based on 2018 estimates from the United Nations World Population Prospects. The chart uses D3’s `scaleLinear`, `scaleBand`, and axis functions to customize both axes, removing default domains and tick lines while adding grid lines, custom tick formatting, and axis labels. Data is loaded from a CSV file and rendered as SVG rectangles with styled text.
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
Comments
Sign in to join the discussion.