Skip to main content
100%

Activity7_task4_shape

✓ Published0🌍 Public
HHemanthh81
Last edited Jul 2, 2023
Created on Jul 2, 2023
Forked from Hello VizHub

This scatter plot visualizes iris flower measurements, encoding sepal length on the x-axis, petal length on the y-axis, and species as different symbol shapes. The plot uses D3 v7 APIs including `scaleLinear`, `scaleOrdinal`, `symbolsFill`, and `symbol` to generate the marks. A custom legend built with `shapeLegend` displays the species-to-shape mapping, while the `axes` module adds labeled axes. Data is loaded asynchronously from a CSV file on GitHub and parsed with `csvParse`.

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