Skip to main content
100%

Gist e4c1b21e553b04d66d0a22279bf0a766

✓ Published0🌍 Public
Aadamjanes
Last edited Mar 17, 2018
Created on Mar 17, 2018

This example demonstrates how D3.js handles data joins by updating circles on a scatterplot, where each circle’s position is mapped from GPA and height values. New data elements enter the visualization as small grey circles, appended via `circles.enter().append("circle")`, with their horizontal and vertical coordinates set using the `x` and `y` scale functions. The code explicitly assigns the circle’s radius to 5 pixels and fill color to grey, showing a basic static rendering of newly added points without transition or animation.

AI-generated description

Similar vizzes