Skip to main content
100%

Fork of Fork of Fork of Fork of ICE-6 Scatter Plot

✓ Published1🌍 Public
VVineela Reddy
Last edited Mar 22, 2023
Created on Mar 22, 2023

This example visualizes the Iris dataset as a scatter plot, mapping sepal length to the x-axis and sepal width to the y-axis, with points colored by species (green, violet, red). It loads data from a CSV via `d3.csv`, parses numeric fields, and renders SVG circles using D3 v6. The code uses `scaleLinear`, `extent`, `axisLeft`, and `axisBottom` to create scales and axes, while a `switch` function assigns colors. Axis labels are added with rotated SVG text, and the visualization fills the full browser window.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes