Skip to main content
100%

Improved Scatterplot with Color Legend

✓ Published1🌍 Public
KKai Stewart
Last edited Nov 15, 2021
Created on Nov 15, 2021

This interactive scatterplot displays the Iris dataset, with dropdown menus to select which numerical attribute maps to the x and y axes and a color legend distinguishing species. Built with React and D3 v5, it renders axes, tick marks, and circular marks as SVG elements. Color encoding uses a d3 ordinal scale, while numeric axes are scaled with d3’s linear scale and nice ticks.

AI-generated description

A scatterplot of the Iris Data Set loaded as a .csv from GitHub Gist

MIT Licensed

Similar vizzes