Non Time Data Plotting on Grafana

Hi,

I have two separate buckets Speed and Distance.
At every 5th minute I record vehicle speed in Speed bucket,
and Distance travelled in Distance bucket, the time of recoding it is exactly same between two buckets.

I need to plot speed and distance on chronograph and grafana.

Can someone please advise how to go about it.

Thanks