After this thread,
I made a version with as parameter the configuration of the graph according to the ChatJs directives. It is possible to adjust the dimension of the chart (thanks to @ThinhDinh for it’s constructive idea.)
YC link https://Chart.manun2.repl.co