Skip to main content
100%

Gist 8522961

✓ Published0🌍 Public
66ewis
Last edited Jan 20, 2014
Created on Jan 20, 2014

This visualization demonstrates the distribution of utility customers by the number of meter readings they have, broken down by energy type. It shows how many customers fall into each category of meter-reading frequency, allowing comparison between electricity and gas customers. The Ruby code parses a pipe-delimited CSV file using the `CSV` library, structures the data with a `Customer` struct, and computes statistics through a `Statistics` module. The chart is rendered as text-based output, using string formatting and the `Date::MONTHNAMES` constant to display monthly averages, with results centered using the `center` method for alignment.

AI-generated description

Similar vizzes