How do I create a graph with a timeline?