Skip to main content
100%

Activity6_task3

✓ Published4🌍 Public
Kkandulasunny17@gmail.com
Last edited Oct 22, 2024
Created on Oct 22, 2024
Forked from Hello VizHub

This scatter plot visualizes the Iris dataset, using petal length and width for the x and y axes. It colors each point by species—setosa, versicolor, and virginica—with distinct colors and also maps sepal length and width to the circle’s rx and ry attributes, though the effect is subtle. Built with D3 v6 via UNPKG, the code loads data from a raw GitHub CSV, uses `select`, `scaleLinear`, `extent`, `axisLeft`, and `axisBottom` to render axes and circles in an SVG, with custom styling for the title and tick labels.

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