Skip to main content
100%

Scatter Plot for IRIS dataset

✓ Published1🌍 Public
Pprashanth yamala
Last edited Jun 25, 2022
Created on Jun 25, 2022

This example visualizes the Iris dataset using a scatter plot of petal length versus petal width, colored by species. It uses D3.js v6 with the `csv`, `select`, `scaleLinear`, `extent`, `axisLeft`, and `axisBottom` APIs to fetch data, scale axes, and render the SVG. The plot also encodes sepal dimensions as `rx` and `ry` attributes on circles, though the rendering effect is not configured. Data is loaded from a remote GitHub Gist via D3's `csv` function.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

MIT Licensed

Similar vizzes