Skip to main content
100%

Fork of 8 class D3 in HTML vanilla

✓ Published1🌍 Public
Ccssergio
Last edited Jun 9, 2022
Created on Jun 9, 2022

This example visualizes the Iris dataset as a scatter plot with elliptical markers, where each flower’s petal and sepal lengths determine the x and y positions, and widths control the ellipse radii. Points are colored by species using a switch statement for setosa (blue), versicolor (red), and virginica (black). The code uses D3 v6 APIs including `csv`, `scaleLinear`, `extent`, `axisLeft`, `axisBottom`, and a custom `scatterPlot` reusable function. Data is loaded from a remote CSV file and rendered as SVG ellipses with interactive titles.

AI-generated description

A reproduction of a title.

MIT Licensed

Similar vizzes