$(document).ready(function () {
    let xhttp = new XMLHttpRequest();

    // Settings
    const NB_ENTRIES = 10;

    // Makes the request to get the data
    xhttp.open("GET", "https://raw.githubusercontent.com/lassalleloan/githubAnalytic-static/master/docs/data/data.json");
    xhttp.responseType = "json";
    xhttp.send();

    // Callback function when the state is changed
    xhttp.onreadystatechange = () => {

        // If everything is okay
        if (xhttp.readyState === XMLHttpRequest.DONE && xhttp.status === 200) {

            let object = xhttp.response;

            // Add dynamically all the repos to the table
            for (let i = 0; i < object.length; i++) {
                $("table").append(`<tr><td id="name">${object[i].name}</td><td id="nb_issues">${object[i].nb_issues}</td></tr>`);
            }

            // Call the drawChart function to draw the chart with de acquired data
            drawChart(object);
        }
    };


});
@@ -829,123 +829,8 @@
    %7D
-%0A%0A            // Call the drawChart function to draw the chart with de acquired data%0A            drawChart(object);
 %0A   

Test to understand