Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Make a scatterplot with d3

Public visualization

Viewing a saved revision (read-only)

7ef7e7ee37e04d4fb8b552e73ff83ff9

Make a scatterplot with d3

1 star1🌍 Public
LLaurens
Last edited Nov 13, 2019
Created on Nov 11, 2019

This scatterplot visualizes the relationship between the red and green color components of eye colors from a JSON dataset, with each circle's size representing the blue component. Initially, circles are positioned at raw values before animating to their scaled positions on a linear 0–255 axis. The example uses D3 v5 to fetch data via `d3.json`, mutates it with custom parsing functions, then renders SVG circles with `d3.select`, `scaleLinear`, and a `transition` with easing to animate the points.

AI-generated description

Make a scatterplot with d3

This is a basic example of a scatterplot