cityenergyproject / seattle

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

GHG Intensity scale bug #21

Open almccon opened 7 years ago

almccon commented 7 years ago

screen shot 2016-12-15 at 15 dec 1 32 37

Perhaps there's a problem with small numbers? Or negative numbers? Or nulls? The range of values is wider than the numbers shown here.

almccon commented 7 years ago

In our current dataset, there is only one building that has a negative GHG Intensity value. That building is the Bullitt Center, with a value of -0.0005689487. It's the Greenest Commercial Building in the World so why not?

screen shot 2017-01-09 at 9 jan 12 13 45

Similarly, it's also the only one with negative Total GHG Emissions, with a value of -27.4. Note that the Total GHG Emissions histogram deals with the negative number just fine.

So maybe the problem is with the maximum value? The largest value for GHG Intensity is 0.0711775623, which is Fisher Plaza, West Building. Possibly the scale on the histogram is failing because it expects the maximum value to be larger than 1?

almccon commented 7 years ago

I had to change how the ranges were being passed to the slider component, but it looks like it's working now: screen shot 2017-01-09 at 9 jan 2 09 47