🌍 Public
Viewing a saved revision (read-only)
c9d397129cad4d13a4c8bd4a019d8be4
Population Histogram of Country
This visualization presents a horizontal bar chart of the top 10 most populated countries as of 2018, derived from a CSV file with population figures in thousands. The chart uses D3 v5’s `scaleLinear` and `scaleBand` to map population values and country names to SVG rectangles, with axes generated by `axisBottom` and `axisLeft`. A custom tick formatter converts large numbers into abbreviated labels, and the SVG is styled with a yellow background and blue bars.
AI-generated descriptionThe featured histogram displays population data of top 10 most populated countries as of 2018