/Purple
        "rgb(220,38,127)",  //Pink
        "rgb(174,183,188)", //Light Gray
        "rgb(100,112,188)", //Dark Gray
    ]



    function doAJAX() {
        var xmlHTTP = new XMLHttpRequest();

        xmlHTTP.onreadystatechange=function() {                     // Executed when data is received
            if (xmlHTTP.readyState==4 && xmlHTTP.status==200) {     // Was the request successful?
                json_data = JSON.parse(xmlHTTP.responseText);

                if ("error" in json_data.graph