Skip to main content
100%

Activity6_Tu_3.2

✓ Published0🌍 Public
Aadapasaidivya99@gmail.com
Last edited Oct 21, 2024
Created on Oct 21, 2024
Forked from Hello VizHub

This example creates an interactive scatter plot of the Iris dataset, using sepal and petal lengths as axes and species as categorical shapes. It loads CSV data from a GitHub repository via `fetch` and `csvParse`, then renders the chart with D3 v7. The visualization includes custom axis labels, a shape legend, and uses `scaleLinear`, `scaleOrdinal`, `symbolsFill`, and `symbol` to map data points to distinct marker types. The code is modularized into separate ES6 modules for axes, scatter plot, and legend components.

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