_cells.indexOf(a.x_)?n_c(a.y_):"#808080"})};		
var data;
$(document).ready(function() {
    $.getJSON('input.json', function(a) {
	
		//Scatterplot
	var width = $(".chart-area").width()/3,	height = width*1.5;
	$(".chart-area").height(height);
        data = a;
        dataQC = data.jsonQC, data_treshold = data.json_tresh;
		data_c = dataQC.filter(function(i){return i.z_ === "c_"}), dt_c = data_c.map(function(i){ return i.y_;}), data_cmax = Math.max.apply(null, dt_c), data_cmin = Math.min.apply(null, dt_c)
	