Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Scatter Plot for IRIS dataset

Public visualization

Viewing a saved revision (read-only)

677fd9d699544adaaf0a052e835b0d57

Scatter Plot for IRIS dataset

0 stars1🌍 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.