Skip to main content
100%

tutorial 3

✓ Published0🌍 Public
Eeedaraajay02@gmail.com
Last edited Apr 14, 2024
Created on Apr 14, 2024
Forked from Hello VizHub

This scatter plot visualizes the Iris dataset, showing petal length against petal width with points colored by species (setosa, versicolor, and virginica) as skyblue, lightgreen, and orange. Circle markers also encode sepal dimensions through their `rx` and `ry` attributes, though they remain visually circular due to a fixed radius. The visualization loads data via `d3.csv` from a GitHub raw URL, uses linear scales (`scaleLinear`) with `extent` for domains, and renders axes with `axisLeft` and `axisBottom`. D3 v6 from UNPKG handles the SVG rendering and data joins.

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