David Kimura PRO said over 6 years ago on Charts and Graphs :

You might be able to do something like this for a daily count

current_user.impressions.group_by_day(:created_at).count