Skip to main content
100%

401 E5

✓ Published0🌍 Public
DDebaliena
Last edited Jun 7, 2021
Created on Jun 7, 2021
Forked from D3 Starter

This example visualizes Olympic medal counts for nine countries as a scatterplot, with gold medals mapped to the x-axis and silver medals to the y-axis. Each circle’s radius scales with the square root of the Euclidean distance between the two medal values, while its fill color blends the gold and silver counts into an RGB value. The SVG is built dynamically using D3 version 6’s data join, with `selectAll`, `data`, and `enter` appending circles, and the dataset is hardcoded within the HTML script rather than loaded from an external file.

AI-generated description

A demonstration of how to start using D3 version 6.

MIT Licensed

Similar vizzes