Convert event data to timeline data.