Skip to main content
100%

Scatter Plot Simple

✓ Published28🌍 Public
CCurran Kelleher
Last edited Feb 27, 2024
Created on Feb 7, 2023
Forked from Loading Data

This example displays the classic Iris Dataset as a scatter plot, mapping sepal length along the x-axis and petal length along the y-axis. Each flower is rendered as a plain circle with a fixed radius of 10 pixels, with no axes or other annotations present. The visualization uses D3’s `scaleLinear` and `extent` functions to compute the scales from the data, and `selectAll` with a data join to render the circles. The code loads the dataset from the `@curran/iris-dataset` package.

AI-generated description

A scatter plot of the Iris Dataset with no axes.

MIT Licensed

Similar vizzes