Skip to main content
100%

Activity 7 Scatter Plot

✓ Published0🌍 Public
Mmn0658
Last edited Jul 5, 2023
Created on Jul 5, 2023
Forked from Hello VizHub

This scatter plot visualizes the Iris dataset, encoding petal length on the x-axis and petal width on the y-axis, with points colored by species (skyblue for setosa, lightgreen for versicolor, orange for virginica). The D3 v6 code uses scaleLinear, extent, axisLeft, axisBottom, and csv to load and render SVG circles. The visualization loads data from a remote CSV file and applies a custom species-to-color mapping, with axis labels for petal length and sepal length.

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