Skip to main content
100%

SPAC_ Interactive Color Legend

✓ Published3🌍 Public
Ppnlinyz
Last edited May 16, 2021
Created on May 16, 2021

This interactive scatter plot visualizes SPAC investment data, plotting annualized returns against current price with circles sized by market cap. A color legend on the right encodes sector membership; hovering over a legend category fades unrelated points and highlights only the selected sector. Built with React and D3 v5, it uses `scaleOrdinal` for colors, `scaleSqrt` for circle radius, and React state (`useState`) to manage hover interactions. The legend component applies opacity transitions dynamically, while native SVG `<title>` elements provide tooltips with investment details.

AI-generated description

A scatter plot of The Iris Dataset.

MIT Licensed

Similar vizzes