Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

BAR CHART

Public visualization

Viewing a saved revision (read-only)

8e920673dcc34542be5ef976c2491687

BAR CHART

0 stars1🌍 Public
SShabani Muswamba
Last edited Apr 18, 2020
Created on Apr 18, 2020
Forked from D3 PROJECT

This bar chart displays the population of the top 10 most populated countries in 2018, with China and India leading by a significant margin. The visualization uses d3.scaleLinear and d3.scaleBand to map population values to bar widths and country names to vertical positions, respectively. Data is loaded from a CSV file using d3.csv, and the population values are converted from thousands to actual numbers. The chart renders as an SVG with d3.axisLeft and d3.axisBottom providing the axes.

AI-generated description

This bar chart shows population of the top 10 most population countries. Data from 2018