Skip to main content
100%

Activity 8 - Task 3

✓ Published0🌍 Public
SSamir Tarda
Last edited Apr 9, 2024
Created on Apr 9, 2024
Forked from Hello VizHub

This scatter plot visualizes the Iris dataset, mapping petal length and width to the x and y axes, with each point colored by iris species (setosa, versicolor, or virginica). The visualization uses D3.v6, loading data via `d3.csv` from a GitHub raw URL, and employing `d3.select`, `d3.scaleLinear`, `d3.extent`, `d3.axisLeft`, and `d3.axisBottom` to create the SVG chart. Color is assigned via a switch statement, while the plot window fills the browser viewport, with axis labels in green text.

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