Skip to main content
100%

que 3 supriya

✓ Published0🌍 Public
SSupriya Ravilla
Last edited Apr 8, 2024
Created on Apr 8, 2024
Forked from task_3.2 supriya

This example demonstrates a scatter plot of the Iris dataset, showing sepal length against petal length with points colored and shaped by species. The visualization uses D3 v7 APIs including `scaleLinear`, `scaleOrdinal`, `symbolsFill`, and `symbol` to map data values to positions and shapes. A custom `shapeLegend` displays the species categories, while the `axes` module renders labeled axes. The data loads from a CSV file via `fetch` and `csvParse`, with the SVG canvas resizing to the window dimensions.

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