cityenergyproject / seattle

Energy benchmarking for Seattle
ISC License
1 stars 5 forks source link

Colors in left navigation not aligning with colors on the map #42

Open almccon opened 7 years ago

almccon commented 7 years ago

With the slider eliminating all orange and red values in left navigation, we still see many dots with orange/red. I believe this only happens with Site Energy Use Intensity and GHG Intensity.

almccon commented 7 years ago

After discussion with client, we'd decided that the map is doing the right thing (using quantiles) and the histograms are doing it wrong (using equal interval). We need to update the histograms to use the same color ramp that the map uses.

almccon commented 7 years ago

Yup, this does the trick:

screen shot 2017-02-14 at 14 feb 8 45 16 screen shot 2017-02-14 at 14 feb 8 44 59
almccon commented 7 years ago

Note: when the distributions are very skewed, like the Site EUI screenshot above, we can adjust the end-caps so that we see more colors: screen shot 2017-02-16 at 10 14 09 am

This doesn't change the colors on the map at all, it just shows a more zoomed-in part of the histogram range.