Skip to main content
100%

Firoze_Task_3

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

This interactive scatter plot visualizes the Iris dataset, encoding petal length on the x-axis and petal width on the y-axis, with each data point colored by species (setosa, versicolor, virginica). Using D3 v6, it loads CSV data via `d3.csv`, maps values with `scaleLinear`, and renders circles as SVG elements. Axes are generated with `axisLeft` and `axisBottom`, while explicit labels for petal_length and sepal_length are positioned via transforms. The plot fills the window, dynamically sizing to the viewport.

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.
  • We are Displaying the IRIS dataset using Scatter plot.
MIT Licensed

Similar vizzes