Create a timeline visualization using timevis::timevis()
and save using
htmlwidgets::saveWidget()
.
Arguments
- data
A dataframe containing the timeline items. Each item on the timeline is represented by a row in the dataframe.
start
andcontent
are the only two required columns. See the Data format section below for more details. For a full list of all supported columns, see the Data Format section in the official visjs Timeline documentation.- groups
A dataframe containing the groups data (optional). See the Groups section below for more details.
- file
File to save HTML into
- showZoom
If
TRUE
(default), then include "Zoom In"/"Zoom Out" buttons on the widget.