score:1

Accepted answer

Check this demo that shows how to fetch a JSON data and initialize the chart: https://jsfiddle.net/BlackLabel/rdn4fyb7/

fetch("https://api.npoint.io/6f74f002ed847e39cc3c")
  .then(response => response.json())
  .then(data => {
    //check how the fetched data looks like
    console.log(data)

    //create chart
    Highcharts.chart('container', {

      series: [{
                type: 'column',
        data: data.data
      }]
    });
  });

Related Articles