Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Scatter Plot w. 1 Ordered Attribute

Public visualization

Scatter Plot w. 1 Ordered Attribute

0 stars2🌍 Public
Jjf1978
Last edited Jun 2, 2020
Created on Jun 2, 2020
Forked from Customizing Axes

This scatter plot shows the land area of Sweden, Greenland, and the US as circles on a linear x-axis and categorical y-axis, with gridlines marking each tick. The code uses D3 v5’s `csv` loader, `scaleLinear` and `scalePoint`, and `axisBottom`/`axisLeft` to render the SVG. Circles receive a fixed radius, and the x-axis formats values with `.1s` notation. The chart reads from `data.csv`, which contains country names and sizes in square kilometers.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed