Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Drug Ratings Date Histogram

Public visualization

Viewing a saved revision (read-only)

a91ba86a8d5d458f8f00b14783df0bbc

Drug Ratings Date Histogram

0 stars1🌍 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.