Line Graph for motion sensor

Is there an easy way to graph each time a motion sensor is tripped? I use this sensor to monitor movement in a room and it would be handy to see how many times a day and the time it is tripped.
Thanks.