This is far more elegant than the plugin I have been using.
A suggestion: at midnight (with one day as the popular period), the popular posts list is zeroed and it starts over. I assume that the same would happen if I chose 7 days or 30 days as the popular period.
It would be great if the user could select the number of days the popular list was for, and if the generated list remained the result of the previous x number of days.
In other words, if you chose 1 day as your time period, the popular list was generated based on views, etc. over the preceding 23 hours and 59 minutes - not since midnight on the current day.
I'd happily donate for this functionality if the author is watching!