Skip to main content
100%

Interactive Color Legend for game publishers

✓ Published1🌍 Public
VVamsi Bhargav Sukamanchi
Last edited Nov 8, 2020
Created on Oct 14, 2020

A scatter plot maps global video game sales against release year, with each point colored by publisher. An interactive color legend on the right highlights a selected publisher by dimming all other points, while the legend itself fades in sync. Built with React and D3 v5, it uses SVG circles for marks, `scaleOrdinal` for color mapping, and a custom `ColorLegend` component with mouse events to toggle the hover state. Data comes from a CSV of videogame sales loaded via `d3.csv`.

AI-generated description

A scatter plot of Videogames sales dataset. Here, the global sale is plotted against the year sold with an interactive legend showing which publisher the game belongs to. We can observe some interesting trends.

MIT Licensed

Similar vizzes