Interactive Color Legend Scatterplot to determine Useful Count of rating per year
✓ Published1🌍 Public
Aaishwarya8615
Last edited Nov 6, 2019
Created on Oct 29, 2019
This interactive scatterplot visualizes drug ratings against useful counts, with each point colored by the year of the rating. A color legend allows users to hover over a year to highlight matching data points while fading the rest, easing comparison of temporal trends. Built with React and D3 v5, it uses `scaleLinear` for axes, `scaleOrdinal` for categorical color mapping, and SVG circles rendered via custom React components. The data comes from a CSV file loaded through D3’s `csv` parser, with axes and legend built from reusable `AxisBottom`, `AxisLeft`, and `ColorLegend` components.
AI-generated descriptionAn Interactive Color Legend Scatter plot for Drug Rating Data.
MIT Licensed