Drug Ratings Date Histogram
✓ Published1🌍 Public
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 descriptionA date histogram showing the sum total of Drug Ratings for each month.
Data from the Drug Ratings Dataset.
MIT Licensed