Line chart not connecting

Why is my line chart not connecting the data points?

linechart (1).gif

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} />