Connecting TinyDB to ChartData2D

You will have to massage your data to fit a chart.

See the third link at