Skip to main content
100%

Activity6_task3.2

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

This example creates an interactive scatter plot using D3 v7 that visualizes the Iris dataset loaded from a GitHub-hosted CSV file. The chart displays sepal length on the x-axis and petal length on the y-axis, with different symbols representing each iris species. The visualization uses `d3.scaleLinear` for axes, `d3.scaleOrdinal` with `d3.symbolsFill` for categorical shapes, and a custom legend built with `d3.symbol`. The code demonstrates modular ES6 imports, reusable chart components, and dynamic data fetching with `d3.csvParse` and `fetch`.

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