Skip to main content
100%

Make a scatterplot with d3

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

MIT Licensed

Similar vizzes