que 3 supriya
✓ Published0🌍 Public
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 descriptionAn example showing the capabilities of VizHub:
- Loads D3 via UNPKG.
- Demonstrates use of
importfrom"d3". - Demonstrates use of
importfrom local ES6 modules.
MIT Licensed