Generate incident statistics graphs from RTIR database