Skip to main content
100%

Drug Ratings Date Histogram

✓ Published1🌍 Public
Aaishwarya8615
Last edited Nov 6, 2019
Created on Oct 19, 2019

A date histogram displays the total Drug Ratings per month from a CSV dataset of drug reviews. The visualization aggregates individual ratings into monthly bins using D3's `d3.histogram`, `d3.timeMonths`, and `d3.sum`, then renders the result as SVG rectangles. The React-based app uses `d3.scaleTime` and `d3.scaleLinear` for axes, with custom `AxisBottom`, `AxisLeft`, and `Marks` components. Tooltips appear on hover via SVG `<title>` elements.

AI-generated description

A date histogram showing the sum total of Drug Ratings for each month.

Data from the Drug Ratings Dataset.

MIT Licensed

Similar vizzes