timeline chart code done