Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Scatter Plots

Public visualization

Scatter Plots

0 stars1🌍 Public
AAkash
Last edited Mar 23, 2022
Created on Mar 23, 2022
Forked from customizing axis

This example visualizes population data for the ten largest countries and the European Union using a scatter plot with circular markers. The chart maps population on a linear x-axis using `d3.scaleLinear` and country names on a `d3.scalePoint` y-axis, with axis labels formatted via `d3.format`. SVG circles are positioned through `scaleLinear` and `scalePoint` domains, while the `d3.csv` loader parses the external CSV file. The visualization includes custom margins and grid lines, rendering entirely with D3 v7 SVG elements.

AI-generated description

An example including some commonly used features of SVG.

Comments

Sign in to join the discussion.

MIT Licensed