@murcie96,
You can achieve the above requirement by creating a new div dynamically every time you pass a new JSON API link and render the chart using the provided JSON data source as shown in this JSFiddle.
Please use the following JSON data sources with the above example:
https://api.myjson.com/bins/espz0
https://api.myjson.com/bins/vguws
https://api.myjson.com/bins/166nss
____
Shashi Ranjan
Team CanvasJS