Why is my line chart not connecting the data points?

Why is my line chart not connecting the data points?

The gapPolicy props should be set to connect for the chart. Please have a look at this snippet:
<TimeseriesChart variant="line" gapPolicy="connect" data={timeseries} />