Skip to main content
100%

Activity6-question3

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

This example displays a scatter plot of the Iris dataset, mapping petal length against petal width while color-coding points by species (skyblue, lightgreen, and orange). Data is loaded via `d3.csv` from a GitHub repository, and scales are created with `d3.scaleLinear` using `d3.extent`. The SVG circles are rendered with `d3.selectAll` and `.join`, while axes are added via `d3.axisLeft` and `d3.axisBottom`, with custom labels and styling.

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