Skip to main content
๐ŸŒ Public

Share visualization

Send this visualization to others.

Scatter Plot for IRIS dataset

Public visualization

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.

Comments

Sign in to join the discussion.

MIT Licensed