Skip to main content
100%

Tutorial Activity6_Task3

✓ Published1🌍 Public
Kkrunalpatel@my.unt.edu
Last edited Apr 13, 2024
Created on Apr 13, 2024
Forked from Hello VizHub

This example visualizes the Iris dataset as a scatter plot, mapping petal length and width on the axes while coloring each point by species (setosa, versicolor, or virginica). The chart uses D3 v6 to load CSV data, apply linear scales, and render SVG circles with custom fill colors. Axis labels are added using d3.axisLeft and d3.axisBottom, and the graphic fills the browser window. The code imports specific D3 modules via destructuring and uses scaleLinear, extent, and join for efficient data binding.

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