src/charts/heatmap.js
function buildScales() {
            colorScale = d3Scale.scaleLinear()
                .range([colorSchema[0], colorSchema[colorSchema.length - 1]])
                .domain(d3Array.extent(data, getValue))
                .interpolate(d3Interpolate.interpolateHcl);
        }
function buildScales() {
            colorScale = d3Scale.scaleLinear()
                .range([colorSchema[0], colorSchema[colorSchema.length - 1]])
                .domain(d3Array.extent(data, getValue))
                .interpolate(d3Interpolate.interpolateHcl);
        }
function buildScales ( ) { colorScale = d3Scale . scaleLinear ( ) . range ( [ colorSchema [ 0 ] , colorSchema [ colorSchema . length - 1 ] ] ) . domain ( d3Array . extent ( data , getValue ) ) . interpolate ( d3Interpolate . interpolateHcl ) ; }
Creates the scales for the heatmap chart
@return void
Creates the scales for the heatmap chart