Skip to main content
100%

activity6_Task3.2

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

This example presents a scatter plot of the Iris dataset, showing sepal length against petal length with points colored by species. It uses D3 v7’s `scaleLinear`, `scaleOrdinal`, and `symbol` to encode data, along with custom axis and shape legend modules. The plot loads CSV data via `fetch` and `csvParse`, and demonstrates modular ES6 imports and the general update pattern with `join`.

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