Charts for Fun
This visualization presents two side-by-side charts of the top 10 most populous countries using 2018 population estimates from the United Nations World Population Prospects. A bar chart and a scatter plot both use d3.scaleBand and d3.scaleLinear to map country names and population values. The charts feature customized axes with d3.axisLeft and d3.axisBottom, including tick formatting that converts large numbers to abbreviated forms. Both SVG charts share the same margin, title, and axis label styling, with circles and rectangles rendered in steelblue.