Skip to main content
100%

The Iris Dataset

✓ Published0🌍 Public
CCurran Kelleher
Last edited Sep 29, 2020
Created on Nov 21, 2015

This example visualizes the classic Iris dataset, originally from the UCI Machine Learning Repository, which contains measurements of sepal and petal dimensions for three iris species. The HTML page loads the data as CSV using D3.js and displays it as formatted JSON in the browser. The dataset, collected in 1936, is commonly used to demonstrate machine learning algorithms and data visualization techniques. The code parses the numeric fields and renders the full dataset as a JSON string for inspection. This example also points to a more modern React & D3 implementation for a stylized scatter plot.

AI-generated description

This is the "Iris" dataset. Originally published at UCI Machine Learning Repository: Iris Data Set, this small dataset from 1936 is often used for testing out machine learning algorithms and visualizations (for example, Scatter Plot). Each row of the table represents an iris flower, including its species and dimensions of its botanical parts, sepal and petal, in centimeters.

The HTML page provides the basic code required to load the data and display it on the page (as JSON) using D3.js.

For a more up to date code example with React & D3, see (VizHub: Stylized Scatter Plot)[https://vizhub.com/curran/3d631093c2334030a6b27fa979bb4a0d?edit=files&file=index.js].

Similar vizzes