Create a Timeline
Get a list of example historical events using EntityValue.
In[1]:=
![Click for copyable input](assets.en/create-a-timeline/In_21.png)
events = EntityValue["HistoricalEvent", "SampleEntities"]
Out[1]=
![](assets.en/create-a-timeline/O_21.png)
Create a timeline of various historical events using TimelinePlot.
In[2]:=
![Click for copyable input](assets.en/create-a-timeline/In_22.png)
TimelinePlot[List /@ events, PlotStyle -> AbsoluteThickness[2],
PlotTheme -> "Web", Background -> LightGray,
PlotRange -> {{{-200}, {5000}}, All}]
Out[2]=
![](assets.en/create-a-timeline/O_22.png)