How to connect api data source with Apache echarts? specifically with the gauge chart type?

I have watched the tutorial on YouTube channel and volkovlabs documentation but I didn’t get the spark, I wonder how to connect api data with Apache gauge charts with three parameters as visualisation data in charts.