🌍 Public
Viewing a saved revision (read-only)
8b0125da42b641b49d8e0515352e02d8
Custumizing Axes
This bar chart displays the population of the top 10 most populous countries, using 2018 estimates from the World Population Prospects 2017 data. The chart renders with D3 v7 in SVG, using `scaleLinear`, `scaleBand`, `axisLeft`, and `axisBottom`. It customizes tick formatting with a custom function that abbreviates numbers using `format('.3s')` and replaces 'G' with 'B', while removing axis lines and gridlines via `.tickSize` and `.select('.domain').remove()`. Population values are multiplied by 1,000 from the CSV data.
AI-generated descriptionThis bar chart shows popilation of the top 10 most poplous countries. the data comes from the year 2018 estimate in World Population Prospects 2017.