@viiartz,
jQuery.getJSON is asynchronous method due to which your chart gets rendered before the array arr_data
gets populated. Hence by performing jQuery.getJSON() method inside jQuery.when() method and then calling chart.render() inside the .then() method will work fine in your case as shown in this JSFiddle.
____
Shashi Ranjan
Team CanvasJS