Skip to main content
100%

Task-3

✓ Published0🌍 Public
Rrahul.bonu524@gmail.com
Last edited Oct 22, 2024
Created on Oct 19, 2024
Forked from Hello VizHub

This scatter plot visualizes the Iris dataset, mapping petal length and width for the x and y axes, with each point colored by species (setosa, versicolor, or virginica). Built with D3 v6, it loads data via `d3.csv`, uses `scaleLinear` for axes from `d3.scaleLinear`, and renders circles with `d3.select` and SVG `circle` elements. The chart includes labeled axes and a legend via `d3.axisLeft` and `d3.axisBottom`, with dimensions scaled to the browser window. Data is pulled from a remote CSV hosted on GitHub Gist.

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