Skip to main content
100%

Activity7 Task4

✓ Published1🌍 Public
HHarshithaAmbilpur
Last edited Jul 9, 2023
Created on Jul 9, 2023
Forked from Hello VizHub

This example demonstrates a scatter plot of the Iris dataset, encoding sepal length on the x-axis, petal length on the y-axis, and species as categorical point shapes. The visualization loads data asynchronously from a CSV file and parses it with `d3.csvParse`. It uses `d3.scaleLinear` and `d3.scaleOrdinal` for scales, renders marks with the `d3.symbol` generator, and includes a custom shape legend built via a reusable ES6 module. Axes are drawn using `d3.axisLeft` and `d3.axisBottom` from a shared axes module.

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