Inspiration

As time passes, global warming and climate change is becoming an increasingly worrying global issue. Temperatures around the world, especially in areas with more carbon emissions and pollution, are rising drastically. This inspired us to create an application that helps the user take a look at temperatures in cities around the state of California.

What it does

Our application displays data of the average temperature of cities around California. The user can interact with the application by hovering over the data and taking a look at the city and its corresponding temperature. They can also sort the data to take a look at the data in order, which gives them a sense of the temperatures relative to each other.

How we built it

Our application is built completely using Java, incorporating the JavaFX library for the frontend. One file is dedicated to accessing and storing data, and the rest of our project handles user-application interactions. We used Java to access the temperature API as well as to sort the data, and we used JavaFX for the frontend and display.

Challenges we ran into

For the longest time (around a day) we were not able to make the data display properly because of conflicts with data structures in our project. We struggled for almost an entire day and could not get the city and temperature data to properly display, but instead of giving up, we kept working and found several alternate ways to try to make it work. In the end, one of our alternate solutions finally worked and we were extremely proud of ourselves for sticking with our idea and finding other ways to make it work, rather than giving up.

Accomplishments that we're proud of

We are extremely proud of persevering through our challenges and being able to produce the final product. We are also proud of learning something new (using APIs from the internet to access data, which is something we did not know at all) and applying that to our project instead of using only topics that we already knew.

What we learned

While working on this project, we researched and learned a lot about using Java to access APIs from the internet and store data from those APIs into our projects. We did not know how to do this before the hackathon, and we found this very interesting, useful, and applicable in future hackathons as well!

What's next for EnviroSort

We are planning on adding on to our project in the future by including more sets of data, such as rainfall and possibly even climate change-related data related to carbon emissions, pollution, greenhouse gases, and industries. We may even apply the new things we learned to access data from a wider area, such as additional states or even the country! We are very proud of what we have made and we look forward to adding on to it.

Built With

Share this project:

Updates