Skip to main content
100%

Activity6_Task3

✓ Published0🌍 Public
DDeekshitha Annreddy
Last edited Oct 24, 2024
Created on Oct 24, 2024

This example renders a scatter plot of the classic Iris dataset, showing petal length against petal width for three species of iris flowers, colored skyblue, lightgreen, and orange. It uses D3 v6’s `scaleLinear`, `extent`, `axisLeft`, and `axisBottom` APIs to map the data, and the `csv` function to load the data from a remote GitHub URL. The visualization is drawn as SVG circles within an HTML page that imports D3 via UNPKG, and the code also demonstrates local ES6 module imports.

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