map-and-chart.js
// Styling function that assigns colour to the GEOJson layer based on the property.density
Styling function that assigns colour to the GEOJson layer based on the property.density
Styling function that assigns colour to the GEOJson layer based on the property . density
function style(feature) {
    var price_as_int = parseFloat(feature.properties.PARENT_AREA_ID.replace(/,/g, ''));
    return {
        fillColor: getColor(price_as_int),
        weight: 2,
        opacity: 1,
        color: 'white',
        dashArray: '3',
        fillOpacity: 0.36
    };
}
function style ( feature ) { var price_as_int = parseFloat ( feature . properties . PARENT_AREA_ID . replace ( / , / g , '' ) ) ; return { fillColor : getColor ( price_as_int ) , weight : 2 , opacity : 1 , color : 'white' , dashArray : '3' , fillOpacity : 0.36 } ; }
Styling function that assigns colour to the GEOJson layer based on the property.density
Styling function that assigns colour to the GEOJson layer based on the property . density