Create speedtest graph

Is it possible to run a speedtest every X time. To check your internet connection.
Speedtest-cli can give a simple view with the results. It should be nice to create a graph with the Ping, Download and Upload results.

sven@NUCi3:~$ speedtest-cli --server 10389 --simple
Ping: 17.658 ms
Download: 97.27 Mbit/s
Upload: 15.13 Mbit/s

You could use this as part of the nagios service checks:

It won’t create the graphs you’ve asked for though. Without custom code this isn’t possible.