Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

IRIS Dataset Scatter plot

Public visualization

Viewing a saved revision (read-only)

931777e25890423cb32666008e4f7687

IRIS Dataset Scatter plot

0 stars0🌍 Public
PPrathyusha0304
Last edited Mar 7, 2022
Created on Mar 7, 2022

This D3.js scatter plot visualizes the Iris Dataset, mapping sepal length on the x-axis and petal length on the y-axis. The SVG rendering uses `d3.csv` to load and parse the data, `d3.scaleLinear` for axis scaling, and `d3.extent` to compute domains. Circles are drawn with a fixed radius, and axes are generated using `d3.axisLeft` and `d3.axisBottom`. The plot includes axis labels for sepal length, petal length, and species, with a margin layout that accommodates the tick text. The code uses `d3.select` to append elements and the `join` operator for efficient circle creation.

AI-generated description

A vanilla HTML implementation of a D3 scatter plot. Shows the Iris Dataset.