🌍 Public
Viewing a saved revision (read-only)
ccd4550e625443a5ab51661882ff50b7
40. D3 Scale Plot Large
This example presents a scatterplot of eleven data points using D3.js version 4.5.0, rendered as SVG circles with red text labels. Each point’s x and y coordinates are mapped to the plot area through linear scales (`d3.scaleLinear`), while a third scale determines the circle radius based on the y-value. The chart is resized to a larger 500x300 pixel canvas with padding, and labels display the raw coordinate pairs alongside each point.
AI-generated description