Skip to main content
100%

Circle Chart

✓ Published0🌍 Public
RRafael O'Duarte
Last edited May 8, 2020
Created on May 7, 2020
Forked from Bar Chart

This circle chart displays the populations of the 10 most populous countries from 2018 World Population Prospects estimates, with each country represented by a black circle whose x-position and radius correspond to its population. The SVG rendering uses d3.scaleLinear and d3.scaleBand to map population values and country names, with d3.axisBottom and d3.axisLeft providing labeled axes. The code loads data from a CSV file via d3.csv, converts population values from thousands, and appends circles using d3.select and d3.append, with a formatted tick label function replacing G with B for billions.

AI-generated description

This bar chart show the populate of the 10 most populous contries. The data come from year 2018 estimate in World Population Prospects 2017

MIT Licensed

Similar vizzes