Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

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

Public visualization

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

1 star1🌍 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.

Comments

Sign in to join the discussion.

MIT Licensed