collect and display data for the last 24 hours