Summary: What's the weather like?


first image

Using Python requests, APIs, and JSON traversals I generated 500+ random latitudes and longitudes with the [Citypy Python library](https://pypi.python.org/pypi/citipy) and the [OpenWeatherMap API](https://openweathermap.org/api), with API keys to retrieve and graph scatter plots to showcase the following relationships:

  • Temperature (F) vs. Latitude
  • Humidity (%) vs. Latitude
  • Cloudiness (%) vs. Latitude
  • Wind Speed (mph) vs. Latitude

As expected, the weather becomes significantly warmer as one approaches the equator (0 Deg. Latitude). There was no relationship between latitude and humidity, cloudiness and wind speed. the data shows that there are more cities with a relative humidity greater than 60% and wind speed less than 10 mph, which would be an interesting analysis.


Visualizations