Skip to main content
100%

Fork of Scatterplot with Iris Data

✓ Published0🌍 Public
MM
Last edited Mar 28, 2024
Created on Mar 28, 2024

This example visualizes the classic Iris dataset as a scatterplot, mapping sepal length to the x-axis and sepal width to the y-axis, with each point colored by species. The React component uses d3.scaleLinear and d3.extent to set the scales, while d3.csv loads the data from a gist. SVG circles are rendered with embedded tooltips showing the sepal length value on hover. The chart includes labeled axes, a bottom axis with tick formatting via d3.format, and a left axis, all built from custom React components that generate SVG elements.

AI-generated description

A program that loads in some data about CSS colors

MIT Licensed

Similar vizzes