Skip to main content
100%

act6-tutorial3.1

✓ Published0🌍 Public
RRayabarapu Nikhitha
Last edited Nov 5, 2024
Created on Oct 23, 2024
Forked from Hello VizHub

This scatter plot visualizes the Iris dataset, mapping petal length against petal width for individual flowers, with points colored by species (setosa, versicolor, or virginica). The example loads CSV data from a GitHub repository and uses D3 v6 APIs including `csv`, `scaleLinear`, `extent`, `axisLeft`, and `axisBottom` to render the SVG chart. Circle marks are drawn with the `join` pattern, while axis labels are added as text elements, demonstrating a basic data-loading and scatter-plot workflow within a full-page SVG canvas.

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