Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Scatter Plot

Public visualization

Scatter Plot

0 stars1🌍 Public
MMichał Szumnarski
Last edited Jul 14, 2019
Created on Jul 14, 2019
Forked from Customizing Axes

A scatter plot displays the population of the top ten most populous countries, with countries on the y-axis and population values on the x-axis, rendered as steelblue SVG circles with axis labels and gridlines. The code loads data from a CSV file using d3.csv, scales the x-axis with d3.scaleLinear and the y-axis with d3.scalePoint, and generates axes via d3.axisBottom and d3.axisLeft with custom tick formatting. Population values are multiplied by 1,000 during data preprocessing before being plotted.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed