nChartCtx = document.getElementById('durationChart');

        // Options define for display value on top of bars

        const durationData = {
            labels: ['Under 1 second','1 to 2 seconds','2 to 4 seconds','4 to 8 seconds','8 to 15 seconds','15 to 30 seconds','30 to 60 seconds','1 minute or over'],
            datasets: [{
                label: 'Number of tests per duration',
                fill: false,
                data: ['0','0','0','9','1','0','0','0'],
                backgroundColor: '