Skip to main content
100%

Activity 7 Scatter Plot

✓ Published0🌍 Public
NNagateja99
Last edited Jul 13, 2023
Created on Jul 13, 2023
Forked from Hello VizHub

This scatter plot visualizes the Iris dataset, showing the relationship between petal length and petal width, with each point colored by species. It uses D3 v6 to load CSV data via `d3.csv`, then renders circles as SVG elements using `scaleLinear` for axes. The code distinguishes three species with a color mapping function and displays labeled axes 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