Skip to content
Go to file

Latest commit


Git stats


Failed to load latest commit information.
Latest commit message
Commit time


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


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


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

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


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



No releases published


No packages published
You can’t perform that action at this time.