Skip to main content
100%

Activity-8_task-3.1

✓ Published0🌍 Public
SSree Yuktha Sunkara
Last edited Apr 13, 2024
Created on Apr 13, 2024
Forked from Activity-6

This example shows a scatter plot of the Iris dataset, coloring each point by species (setosa, versicolor, or virginica) and plotting petal length against petal width on the axes. It uses D3 v6 via UNPKG, loading data from a GitHub CSV file with `d3.csv` and parsing numeric fields. The code builds an SVG visualization with `scaleLinear`, `extent`, `axisLeft`, and `axisBottom`, and draws circles with radii of 5 pixels. Axis labels and rotated text are added, with the chart sized to the full browser window.

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