Skip to main content
100%

creating scatter plot ice-6

✓ Published0🌍 Public
PPallaviManupati
Last edited Mar 6, 2022
Created on Mar 6, 2022

This scatter plot visualizes the Iris dataset, mapping petal length and width to x and y axes while coloring each point by species (setosa, versicolor, or virginica). The code also extracts sepal measurements as additional data properties. Built with D3 v6, it loads the CSV via `d3.csv`, uses `scaleLinear` and `extent` for axes, and renders circles in an SVG using `join`. Axes are added with `axisLeft` and `axisBottom`.

AI-generated description

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

MIT Licensed

Similar vizzes