Skip to main content
100%

Activity6_IRIS-Task3.1

✓ Published0🌍 Public
Vvinilavoddi@my.unt.edu
Last edited Oct 22, 2024
Created on Oct 22, 2024
Forked from Hello VizHub

This example visualizes the Iris dataset with a scatter plot of petal length against petal width, coloring each point by species (setosa, versicolor, or virginica). It uses D3 v6’s `csv`, `scaleLinear`, `extent`, `axisLeft`, `axisBottom`, and `select` to load data, map scales, and render axes, while circles are drawn with SVG attributes. The plot is sized to the window and displays axis labels for both petal and sepal measurements, with a legend implied through color coding.

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.
MIT Licensed

Similar vizzes