Skip to main content
100%

Making a Color Legend

✓ Published1🌍 Public
NNikhil Reddy Manda
Last edited May 15, 2021
Created on May 15, 2021

This scatterplot of the Iris dataset visualizes petal length against sepal width, with points colored by species using an ordinal color scale. An interactive color legend maps species names to colors using circles and text within an SVG canvas. Built with React and D3 (v5), the visualization uses d3.scaleOrdinal for color mapping, d3.scaleLinear for axes, and custom React components for rendering axes, marks, and the legend.

AI-generated description

Making a Color Legend

MIT Licensed

Similar vizzes