cityenergyproject / seattle

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

Rounding percentages #111

Closed sconnelley closed 6 years ago

sconnelley commented 6 years ago

The scorecard fuel use chart shows rounded percentages, which can sometimes lead to sums not equal to 100. Need client to decide what they want to do about this. If we round to the nearest tenth then this becomes less of a problem.

#seattle/2016?filters[0][field]=site_eui&filters[0][max]=15&layer=site_eui&sort=site_eui&order=desc&lat=47.62294&lng=-122.33877&zoom=12&building=659&report_active=true

image

sconnelley commented 6 years ago

Using something similar to the Largest Remainder Method

image

sconnelley commented 6 years ago

fixed in a481197b8fefe95151c63220c5eb771caa4f23e0