Skip to main content
100%

ACTIVITY6 TASK3

✓ Published0🌍 Public
BBhavana Sharma
Last edited Apr 4, 2024
Created on Apr 3, 2024
Forked from Hello VizHub

This scatter plot visualizes the Iris dataset, mapping petal length and width as the x and y coordinates. Each point is colored by species (setosa, versicolor, or virginica) and uses an SVG circle with additional radius attributes derived from sepal measurements. The code loads CSV data via `d3.csv`, scales axes with `d3.scaleLinear`, and renders marks using D3's `select` and `join` operations. Axis labels are added manually, and the chart fills the browser window.

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