Skip to main content
100%

Activity_6_Task_3_1

✓ Published1🌍 Public
LLarry Johnson
Last edited Oct 24, 2024
Created on Oct 24, 2024

A scatter plot displays the Iris dataset, encoding petal length and petal width along the x and y axes while coloring each point by species (setosa, versicolor, virginica). The chart includes labeled axes, a green axis title, and a red heading. Built with D3 v6, the visualization loads CSV data via `d3.csv`, scales positions using `d3.scaleLinear` and `d3.extent`, and renders circles as SVG elements with `d3.selectAll` and data joins. Axes are drawn using `d3.axisLeft` and `d3.axisBottom`, with the plot sized to the 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