Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Scatter Plot

Public visualization

Scatter Plot

0 stars1🌍 Public
SSam Lite
Last edited Feb 16, 2020
Created on Feb 16, 2020
Forked from Customizing Axes

A scatter plot displays the population of the top ten most populous countries using circles positioned along a linear x-axis (population count) and a point-based y-axis (country names). The visualization is rendered as SVG using D3 v5, with axes generated via axisBottom and axisLeft, while scaleLinear and scalePoint map the data values. Population values are loaded from a CSV file and multiplied by 1000, with tick labels formatted using D3’s format function to abbreviate large numbers (e.g., ’1.4B’).

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed