Skip to main content
100%

Iris Scatter Plot

✓ Published1🌍 Public
Jji3ji3ji3195@gmail.com
Last edited Sep 4, 2024
Created on Sep 4, 2024

This scatter plot visualizes the Iris dataset, displaying sepal length on the x-axis and sepal width on the y-axis for three species of iris flowers. The visualization uses D3's `scaleLinear` function to map data values to pixel coordinates, with circles representing individual samples. The `xAxis` and `yAxis` functions from D3 render the axes, while custom label functions from the `@curran/axis-labels` library add axis titles. A light gray rectangle highlights the plotting area, and semi-transparent circles reveal overlapping data points. The example demonstrates a reusable plotting pattern that can be adapted to other datasets.

AI-generated description

A simple scatter plot with D3 showing the Penguins Dataset.

Challenge

  • Fork this viz
  • Modify it to show your data
MIT Licensed

Similar vizzes