Help with UIBuilder

I Like Apex Chart and have actually a working graph i use extensively in my dashboard-1.

my project here

Apex Chart with Customization

so how do I proceed ? I have no knowledge of how to install libraries. in my template node in db-1 i have just given below as the first line and other function copied from internet. i really dont know how it works. but it works.

<script src="https://cdn.jsdelivr.net/npm/apexcharts"></script>

this is screengrab of my working db-1 (yes it has hotNipi 's gauges as well)