Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

D3 Scatterplot

Public visualization

D3 Scatterplot

0 stars1🌍 Public
Rrdeichert
Last edited Dec 12, 2019
Created on Dec 12, 2019
Forked from D3 Axes

This scatterplot displays the top 10 most populous countries, with population on the x-axis and country names on the y-axis. It uses D3 v5 with SVG rendering, scaling population values with `d3.scaleLinear` and countries with `d3.scalePoint`. The code applies `d3.axisLeft` and `d3.axisBottom` for gridlines and labels, formats tick numbers with `d3.format`, and loads data from a CSV file. Circles are added via data joins, with styling defined in an external stylesheet.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed