Skip to main content
100%

Fork of Iris Dataset Scatter Plot

✓ Published0🌍 Public
PPriyanka11128
Last edited Mar 7, 2022
Created on Mar 7, 2022

This scatter plot visualizes the Iris dataset, mapping petal length and width along the x- and y-axes while coloring each point by species (setosa, versicolor, or virginica). The visualization uses D3 v6’s `csv` loader, `scaleLinear`, `extent`, and axis functions to position and label the marks, with circles rendered as SVG elements. The code also parses sepal measurements but does not use them for plotting. Data is fetched from a GitHub-hosted CSV file, and the chart fills the browser window with margins for axis labels.

AI-generated description

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

MIT Licensed

Similar vizzes