🌍 Public
Viewing a saved revision (read-only)
254215d50c9a430bbaaa35841868bc41
Customizing axes
This bar chart displays the populations of the top ten most populous countries, with data from the World Population Prospects 2017. The chart uses D3 v5 APIs including `scaleLinear`, `scaleBand`, `axisLeft`, and `axisBottom` to render an SVG visualization. The horizontal axis is customized with a formatter that converts raw numbers to abbreviated values using `format('.3s')`, and grid lines are removed from both axes by filtering out the `.domain` and `.tick line` elements. Population data is loaded from a CSV file and multiplied by 1000 before rendering.
AI-generated descriptionThis bar chart shows population of the top 10 most populous contries. World popilation Prospects 201