I don't understand how to add external libraries to codepen

I don't understand how to add external libraries to codepen
0.0 0

#1

Hello,

I’m working on the pomodoro clock project and I would like to add a chart library to my code. My idea was to display a pie chart that looks like a clock, with sections for work time and then break time, the work time section ticking down as the timer runs. However I can’t figure out how to add any libraries - how do I know which link to paste in the “Add external javascript” section? Most libraries just seem to have downloads. More specifically I’d like to use this:

Thanks


#2

Google canvasjs cdn and you will find that lo and behold there is a CDN link for this library that you want to use. Just go here and select what you want, copy the url and paste it in under JS library on codepen.

Looking forward to see what you make with your pomodoro clock.


#3

That worked! Thank you so much.