/head>

<body>
    <div id="container" style="width: 75%;">
        <canvas id="canvas"></canvas>
    </div>
    <script>
        var color = Chart.helpers.color;
        var salesPriceData = new Map();
        var eventCount = 0;

        var barChartData = {
            labels: [],
            datasets: [{
                label: 'Sales Per Category',
                backgroundColor: color(window.chartColors.blue).alpha(0.5).rgbString(),
                borderColor: window.chartColors.blue,
               