Skip to main content
100%

Scatterplot

✓ Published0🌍 Public
VValentinCrr
Last edited Jan 20, 2018
Created on Jan 20, 2018

This example shows a simple scatterplot with two data points, plotting values on x and y axes labeled “Sepal Width (cm)” and “Sepal Length (cm),” and includes a legend with a colored square. The visualization uses D3 v4 with SVG rendering, employing `d3.scaleLinear` for axes, `d3.scaleOrdinal` with `d3.schemeCategory10` for colors, and appends circles as `.dot` elements. The data is temporary and hardcoded, while the axis code is commented out, so only the dots and legend render without visible tick marks.

AI-generated description

Built with blockbuilder.org

forked from <a href='http://bl.ocks.org/ValentinCrr/'>ValentinCrr</a>'s block: <a href='http://bl.ocks.org/ValentinCrr/cc11a15178f97bd6822f2c0bd876765d'>LineChart</a>

mit Licensed

Similar vizzes