Skip to main content
100%

Activity 7 Task 4

✓ Published0🌍 Public
AArun Pratap
Last edited Jul 10, 2023
Created on Jul 10, 2023
Forked from Hello VizHub

This example displays an interactive scatter plot of Fisher's Iris dataset, mapping sepal length and petal length while encoding species through distinct marker shapes. Built with D3.v7, it uses imports like `scaleLinear`, `scaleOrdinal`, and `symbol` to handle scaling and shape generation. The code fetches CSV data via URL, parses it with `csvParse`, and renders axes with `axisLeft` and `axisBottom`, including a custom shape legend to identify species.

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