Skip to main content
100%

shape

✓ Published2🌍 Public
Vvishu.valandas@gmail.com
Last edited Oct 22, 2024
Created on Oct 22, 2024
Forked from Question1

This interactive scatter plot displays the Iris dataset, showing sepal length against petal length with a point's shape encoding its species. The visualization includes axes, axis labels, and a custom legend for the shape encoding. It uses D3 v7, specifically `scaleLinear` for scaling, `scaleOrdinal` for the shape mapping, and `symbolGenerator.type().size()` to draw the points. Data is loaded from a GitHub-hosted CSV and parsed via `csvParse`. The chart dynamically updates based on the window size.

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