Skip to main content
100%

DV TASK-8(3)

✓ Published0🌍 Public
Nnagabinduk2023@gmail.com
Last edited Apr 9, 2024
Created on Apr 9, 2024
Forked from Hello VizHub

This example displays a scatter plot of the Iris dataset, mapping petal length and width for the x and y axes while coloring each point according to its species: setosa, versicolor, or virginica. The visualization uses D3 v6 API functions such as `csv` for data loading, `scaleLinear` for axis scaling, `extent` for domain calculation, and `axisLeft` and `axisBottom` to draw the chart's axes. The SVG circles are rendered with the `select` and `join` methods, with a fixed radius of 5 pixels.

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