Skip to main content
100%

College Interactive Color Legend

✓ Published0🌍 Public
AAlaouiadnane
Last edited Feb 19, 2020
Created on Feb 19, 2020

A scatter plot of the College Dataset displays enrollment numbers versus the percentage of faculty with PhDs, with points colored by public or private institution. An interactive color legend filters the visualization: hovering over a legend item highlights the matching points while fading others, using React state for hover tracking. The visualization is built with React and D3 v5, using scaleLinear for axes, scaleOrdinal for colors, and SVG for rendering. Data is loaded asynchronously via d3.csv from a GitHub gist.

AI-generated description

A scatter plot of The College Dataset.

Enroll: number of new students enrolled. Phd: Percent of faculty with Ph.D's Private: Public/Private indicator.

MIT Licensed

Similar vizzes