Skip to main content
100%

Activity6_Task3

✓ Published1🌍 Public
Mmasters200128@gmail.com
Last edited Apr 14, 2024
Created on Apr 14, 2024
Forked from Hello VizHub

This example displays a scatter plot of the Iris dataset, positioning each flower by petal length and petal width while coloring points by species (setosa, versicolor, or virginica) with a legend-like mapping. It loads the CSV from a GitHub repository using D3’s `csv` function, parses numeric fields, and renders SVG circles. The code uses D3 v6 APIs including `scaleLinear`, `extent`, `axisLeft`, `axisBottom`, and `select` to build the chart, with axes labeled for petal and sepal measurements.

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