Skip to main content
100%

Fork of Scatter Plot with Shape

✓ Published0🌍 Public
Hharipriyaa07
Last edited Jul 6, 2023
Created on Jul 6, 2023
Forked from Hello VizHub

This example demonstrates a scatter plot of Iris flower measurements, plotting sepal length against petal length. Each point is shaped according to the species of the flower, with a custom legend mapping the three species to distinct symbols. The visualization uses D3 v7 APIs including `scaleLinear`, `scaleOrdinal`, `symbol`, and `symbolsFill` to render the marks, and loads the Iris dataset from a remote CSV file via `csvParse`. The rendering pipeline is modular, with separate modules for axes, the scatter plot, and the shape legend.

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