Skip to main content
100%

Activity6Task3

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

A scatter plot of the Iris dataset displays petal length and width, with each point colored by species using a manual `switch` statement. The visualization is rendered as an SVG using D3 v6, loading data via `d3.csv`. It uses `d3.select` for DOM selection, `d3.scaleLinear` for axes, and `d3.extent` to compute domain ranges, with `d3.axisLeft` and `d3.axisBottom` for chart labels. Circle radii are set by a fixed constant, while `rx` and `ry` properties are erroneously assigned but not used for ellipse drawing.

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