Skip to main content
100%

Activity6_Task3.1

✓ Published0🌍 Public
VVarshith Peddineni
Last edited Oct 22, 2024
Created on Oct 22, 2024
Forked from Hello VizHub

This scatter plot visualizes the Iris dataset, mapping petal length and width on the x- and y-axes, with each point colored by species via a custom `marker` function. The D3 v6 code loads CSV data from a GitHub gist using `d3.csv`, scales the axes with `scaleLinear`, and renders circles in an SVG. Axis labels appear for petal length and sepal length, though the latter label mismatches the plotted x-values. The chart uses `axisLeft` and `axisBottom` for ticks and fills margin-controlled space.

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