Scatter Plot Simple
✓ Published28🌍 Public
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 descriptionA scatter plot of the Iris Dataset with no axes.
MIT Licensed