      url: "data/sampleData.json",
        type: "GET",
        contentType: "application/json; charset=utf-8",
        async: true,
        dataType: "json",
        success: function ( inputData ) {

            controller.addData( inputData );
            controller.init();

        }

    } );

    // in this demo, bind the enableStats() API to "enable" button

    $( "#enable" ).click( function () {

        controller.enableStats();

    } );

    // in this demo, bind the disableStats() API to "disab