Skip to main content
100%

q3.6

✓ Published0🌍 Public
Yyashwanthkirla95@gmail.com
Last edited Apr 11, 2024
Created on Apr 11, 2024
Forked from Hello VizHub

This scatter plot visualizes the Iris dataset, mapping petal dimensions for the x- and y-axes, with circles colored by species (setosa, versicolor, virginica) via a color marker function. The D3 v6 code loads CSV data from a GitHub gist using `d3.csv`, scales the numeric petal and sepal variables with `scaleLinear`, and renders the marks as SVG circles. Axes are drawn with `axisLeft` and `axisBottom`, and point size is fixed at a radius of 5 pixels. Sepal lengths and widths are implicitly stored in each datum but not plotted directly.

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