Skip to main content
100%

TASK-3

✓ Published0🌍 Public
Aajaykumarakula00@gmail.com
Last edited Apr 14, 2024
Created on Apr 14, 2024
Forked from task-2

This example demonstrates a scatter plot of the Iris dataset, showing sepal length against petal length with points shaped by species. The visualization loads the CSV data from a GitHub repository and uses D3 v7 APIs including `scaleLinear`, `scaleOrdinal`, `symbol`, and `axisLeft`/`axisBottom` to render axes and points. A custom legend displays the three species using different symbol shapes, while the code exercises local ES6 module imports alongside D3’s bundled version. The chart rescales to fit the viewport dimensions on load.

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