Environment Category

Inspiration

The average American family of four uses 400 gallons of water per day. On average, approximately 70 percent of that water is used indoors, with the bathroom being the largest consumer. Where does all this water go? Let's find out!

What it does

Tracks your day-to-day water usage. Input your toilet flushes, minutes in the shower, etc., all to calculate the total number of gallons used in a day. Automatically saves this data and displays it in a table and graph format to conveniently show and motivate you to use less water. WaterCount positively impacts teenagers by helping them track their water usage and reduce it, creating a positive impact on the environment and reducing the overall environmental footprint of an individual.

How I built it

I leveraged javascript libraries like chart.js and APIs like the HTML5 localStorage API. Everything is on the client-side to ensure the best and most convenient user experience.

Challenges I ran into

Storing data locally was an issue I ran into. To solve it, I used the localStorage API of modern browsers, allowing it to work on all platforms - Android, iOS, etc.

Accomplishments that I'm proud of

I'm proud of the chart API I leveraged to display the history graph. Additionally, the storage capability to track your water usage was an innovative feature I had to research to figure out.

What I learned

I learned how to work under time pressure, as well as the use of javascript libraries such as chart.js.

What's next for WaterCount

More features, more details and analysis of water usage! Leaderboards, score trackers, point and award systems. Possible game integration.

Share this project:

Updates