Project | Dataset | Tags |
---|---|---|
NY Airbnb Flats 2019 with Bokeh | Flats for rental in NY (Airbnb) 2019 |
-
This small project consists of an interactive visualization of a data set of flats offered for Airbnb in the city of New York in 2019. A few parameters allow to interact with the dataset and a hover tool is available for obtaining more information of each sample.
-
My main goal with this project was to try the library Bokeh and the simplest ways of interacting with data by using just python.
-
The data in this case is loaded from a .csv file but it could be easily extended for loading the data from other sources such as a SQL database.
-
The inspiration from this project comes from example and the code can be found here.
- I have been using a python virtual environment but other systems as Docker can be used too. A '''requirements.txt''' file with the dependencies can be found on the corresponding folder. In order to create the virtual environment and install the libraries the next steps can be follow:
python -m venv .venv
pip install -r requirements.txt
- To view the app, move to the parent directory and run Bokeh serve:
bokeh serve --show movies