Skip to main content
100%

Activity 7 Task 4

✓ Published0🌍 Public
MMichael Biancardi
Last edited Jul 3, 2023
Created on Jun 28, 2023
Forked from Hello VizHub

This scatter plot visualizes the Iris dataset, mapping sepal length on the x-axis and petal length on the y-axis, with each species distinguished by a unique symbol shape and a corresponding legend. The code uses D3 v7 modules including `scaleLinear`, `scaleOrdinal`, `schemeCategory10`, `symbolsFill`, and `symbol` to render marks. Axes are constructed via modular `axisLeft` and `axisBottom` functions, while data is loaded asynchronously with `csvParse` from a GitHub-hosted CSV file.

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