Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Iris Scatter Plot

Public visualization

Viewing a saved revision (read-only)

875869bba2b8457c885edf66f0a9ba6e

Iris Scatter Plot

0 stars2🌍 Public
YYi-Qing
Last edited Sep 17, 2023
Created on Sep 15, 2023
Forked from Hello VizHub

This scatter plot visualizes the Iris flower dataset, comparing sepal length to sepal width across three species encoded by color. The visualization uses D3 v7’s scaleLinear, axisBottom, and axisLeft to construct the chart, with an ordinal color scale for species classification. Rendered as SVG, it includes a manually drawn legend and gridlines, reading data from a local CSV file through d3.csv. The chart demonstrates ES6 module imports and loading D3 via UNPKG.

AI-generated description

An example showing the capabilities of VizHub:

  • Loads D3 via UNPKG.
  • Demonstrates use of import from "d3".
  • Demonstrates use of import from local ES6 modules.