Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Scatter Plot

Public visualization

Viewing a saved revision (read-only)

c53d2cf886a5476b9e1b243d0b077313

Scatter Plot

0 stars1🌍 Public
AAngus Hon
Last edited Sep 2, 2019
Created on Sep 1, 2019

This scatter plot displays the top 10 most populous countries, with population values plotted along the x-axis and country names along the y-axis. The chart uses d3.csv to load the country_data.csv file, then applies d3.scaleLinear and d3.scalePoint to map population and country names to screen coordinates. Axes are drawn using d3.axisLeft and d3.axisBottom, with tick formatting via d3.format to abbreviate large numbers. Circles representing each country are added to the SVG container, styled with a steelblue fill.

AI-generated description