YMMV, but I think that the "vehemence" depends entirely on the time interval, and not on the total number of votes, if your time interval is "all the time". In addition, it seems to me that the share of all votes in the corresponding time frame, and not their absolute number, is an important figure.
You can have several categories of hot:
- The hottest hour
- The hottest this week
- Hottest since your last visit.
- Hottest all time
So, "The hottest in the last [independently]" can be calculated as follows:
votes_for_topic_in_timeframe / all_votes_in_timeframe
if you especially need a number from 0 to 1 (useful for comparison between categories), or if you want only those that were in a specific timeframe, just enter the votes_for_topic_in_timeframe values and sort them in descending order.
If you do not want the user to explicitly select a time interval, you may need to calculate all (say) the four versions (or perhaps only the top 3), assign a multiplier for each category to give each category a relative importance, and calculate the common values for each topics to take the top n. This has the advantage that it can potentially hide from a user whom no one has voted in the last hour;)
source share