Is it possible to create a time-series histogram like the one described in this presentation (slides 36-39) using either R or D3.js? Or is there a better way to show bucketed data as a time series?
Edit: Here is some pre-bucketed sample data. Ideally, D3 or R would do the bucketing by itself. And yes, if it wasn’t clear, I understand that I could write this myself. I’m just wondering if there’s already a package that does this and I just haven’t come across it yet. Thanks!
Here is one possible solution using R and ggplot2.
Your data, ready to paste into R console:
Plotting code:
The plot might look better if you include rows for zero bucket values in your data. Then you could change
low="#F7FBFF"tolow="white".