Skip to main content
100%

Interactive Color Legend Scatterplot to determine Useful Count of rating per year

✓ Published1🌍 Public

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 description

An Interactive Color Legend Scatter plot for Drug Rating Data.

MIT Licensed

Similar vizzes