Skip to main content
100%

simple scatterplot

✓ Published0🌍 Public
VVickyLouise
Last edited Feb 16, 2018
Created on Feb 16, 2018

A simple scatterplot displays seven data points with x-values between 14 and 39 and y-values between 22 and 61. The visualization uses D3 v4 to create SVG circles, with linear scales mapping the data domain to screen coordinates. The code defines x and y scales, generates axes with d3.axisBottom and d3.axisLeft, and appends circles with radii and fill colors that vary by index. The data is hardcoded as an array of objects, and the chart renders within an SVG canvas sized 960 by 500 pixels.

AI-generated description

Built with blockbuilder.org

forked from <a href='http://bl.ocks.org/andrewdblevins/'>andrewdblevins</a>'s block: <a href='http://bl.ocks.org/andrewdblevins/6af5dfd19ac090e3f2305e5b01035c4c'>simple scatterplot</a>

mit Licensed

Similar vizzes