Skip to main content
100%

ICE6 submitted by Tejaswi Tummala

✓ Published0🌍 Public
Tttummala17
Last edited Jun 26, 2022
Created on Jun 26, 2022
Forked from HTML Starter

This example visualizes the Iris dataset as a scatter plot, mapping petal length and width to the x- and y-axes. Each point is colored by species, with setosa in blue, virginica in red (via an empty string falling through to the default red), and versicolor in red. The visualization uses D3 v6’s `scaleLinear`, `extent`, `axisLeft`, and `axisBottom` for scales and axes, with SVG circles. Data loading uses `d3.csv` from a GitHub gist, and the code also sets `rx` and `ry` attributes based on sepal dimensions, though these have no visual effect on circles. The layout is responsive to the window size.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

MIT Licensed

Similar vizzes