Data Analysis project mapping price data for avocados onto a map of the USA.
See the blog post that accompanies this analysis on Towards Data Science.
The purpose of this project was to take price data for avocados and to create an attractive and understandable visualisation representing that. I wanted to get to grips with creating maps in Matplotlib, as well as using geocoding locations - taking addresses in text form and finding their coordinates, enabling them to be represented spatially.
I also wanted to take the opportunity to pickle some data so I could gain some experience with this technique, and pull data into my notebook using APIs.
- EDA
- Data visualisation
- Geocoding
- Geographical mapping
- Jupyter Notebook
- pandas
- Geopandas
- Geopy
- Matplotlib
- Shapely
- pickle
Avocado price data sourced from Kaggle - stored here as avocado.csv
Shape file sourced from United States Census Bureau - these can be found in the root folder of this repository
Get your own Bing Maps API Key here
- Clone this repo (for help see this tutorial).
- Raw Data is kept in the CSV file in the root folder of this repo.
- All code is contained within the Jupyter Notebook for this project, stored in the root folder as Avocado Prices.ipynb
All feedback is warmly received. Craig Dickson can be contacted via his website craigdoesdata.de.