Skip to main content
100%

Scatter Plot with Color

✓ Published1🌍 Public
Ttharuta
Last edited Aug 7, 2021
Created on Aug 7, 2021

This interactive scatter plot displays the Iris flower dataset, letting users explore relationships between sepal and petal measurements across three species. Color encodes species using a d3.scaleOrdinal with a categorical palette. Users select X and Y axes via ReactDropdown menus, updating the visualization through React state. The chart uses d3.scaleLinear for both axes, with SVG circles rendered by React components, and d3.csv loads the data. Axis ticks and labels are generated using d3 scale methods, with formatted tick values via d3.format.

AI-generated description

Smiley face implementation with React.

MIT Licensed

Similar vizzes