Fix plotting weekly estimate as daily.
Break histogram creation into function.

Fixes histogramMax being only the last value at or above the maximum.
Avoid repetitive calculation.
Change uptime plot to a histogram.
Whitespace. REBASE INTO HISTOGRAM BREAK
Rename confusing variable; avoid division by 0.

This isn't the total number of nodes reported as peers - it's the
count: number of reports.