Skip to content

Creating an interactive visualisation of avocado price data in the United States

Notifications You must be signed in to change notification settings

thecraigd/BokehAvocado

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CraigDoesData

Using Bokeh to create an interactive visualisation of avocado prices

Data visualisation project mapping price data for avocados onto a map of the USA.

There is an accompanying article on Towards Data Science to walk you through this visualisation here.

This is a follow-up to this article on Towards Data Science, the code and data for which are stored in this repository.

My objective here was to produce an interactive version of the static visualisation I produced previously. I used Bokeh to do that, and produced this visualisation using the code presented here.

Project status - Complete

Introduction

This project was intended to allow me to experiment with using Bokeh to produce interactive maps which can be embedded in HTML pages. I was able to do that successfully.

Methods used

  • Co-ordinate transformation
  • Data visualisation
  • Geographical mapping

Technologies used

  • Jupyter Notebook
  • pandas
  • Bokeh
  • Numpy

Data Sources

Avocado price data sourced from Kaggle - stored in this repository as avocado.csv

Getting started

  1. Clone this repo (for help see this tutorial).
  2. Raw Data is kept in the CSV file in the root folder of this repo.
  3. All code is contained within the Jupyter Notebook for this project, stored in the root folder as bokeh_avocado.ipynb

Featured Notebooks

Contact

All feedback is warmly received. Craig Dickson can be contacted via craigdoesdata.de.

Visit www.craigdoesdata.de or follow me here on GitHub to see my other projects.

About

Creating an interactive visualisation of avocado price data in the United States

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published