Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Making a Color Legend

Public visualization

Making a Color Legend

0 stars1🌍 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

Comments

Sign in to join the discussion.

MIT Licensed