Scatter
✓ Published0🌍 Public
TTollyCoburn
Last edited Aug 31, 2018
Created on Aug 31, 2018
This example shows a scatterplot of 50 randomly generated data points, with each point’s position determined by its x and y values and its size scaled by the y value using a square-root scale. The visualization uses D3 v4 with an SVG rendering approach, employing `d3.scaleLinear` for the axes, `d3.scaleSqrt` for the point radii, and `d3.axisBottom` and `d3.axisLeft` to draw the axes. The dataset is created on the fly with `Math.random`, so the plot changes each time the page loads.
AI-generated descriptionBuilt with blockbuilder.org
mit Licensed