Skip to main content
100%

Activity 7 Scatter Plot

✓ Published0🌍 Public
Aakshayvenishetty1437
Last edited Jul 19, 2023
Created on Jul 19, 2023
Forked from Hello VizHub

This scatter plot visualizes the Iris dataset, showing petal length on the x-axis and petal width on the y-axis. Each circle’s color represents the iris species—setosa in skyblue, versicolor in lightgreen, and virginica in orange. Built with D3 v6, the code loads CSV data and renders SVG circles via `d3.scaleLinear`, `d3.axisLeft`, and `d3.axisBottom`. It highlights the author's custom use of `rx` and `ry` attributes, though these do not affect the circular shape. The data comes from a GitHub-hosted CSV file.

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