Skip to main content
100%

D3 Scatterplot

✓ Published1🌍 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
MIT Licensed

Similar vizzes