Create a Timeline
Obtenha uma lista de exemplos de eventos históricos usando EntityValue.
In[1]:=
![Click for copyable input](assets.pt-br/create-a-timeline/In_21.png)
events = EntityValue["HistoricalEvent", "SampleEntities"]
Out[1]=
![](assets.pt-br/create-a-timeline/O_21.png)
Crie um cronograma de vários eventos históricos usando TimelinePlot.
In[2]:=
![Click for copyable input](assets.pt-br/create-a-timeline/In_22.png)
TimelinePlot[List /@ events, PlotStyle -> AbsoluteThickness[2],
PlotTheme -> "Web", Background -> LightGray,
PlotRange -> {{{-200}, {5000}}, All}]
Out[2]=
![](assets.pt-br/create-a-timeline/O_22.png)