hi, I am working in October CMS and made a Component.
Here is the PHP part:
https://paste.laravel.io/b7eb89b4-54f2-4b6f-8c17-0c6a23a71e9b
WE have the data on the HTML Part them in a variable “$dataPoints”.
Here is the HTML part:
https://paste.laravel.io/ef1fd220-0752-44ef-8867-2f02bdfb76be
The “put styles” adds the code to right before the closing <head> and the “put scripts” ads the JS to the end of the <body>.