This repository hosts Bokeh equivalents for various plots from Fundamentals of Data Visualization by Claus O. Wilke. It provides a collection of interactive data visualizations implemented using the Bokeh library.
The full rendered pages of this repository can be found here
-
Introduction: An overview of the narrative and type of plots to expect.
-
Visualizing amounts
-
Bar plots: Representing amounts using vertical, horizontal, grouped, and stacked bars.
-
Dot plots and heatmaps: Using dots and colors to represent values.
-
-
Visualizing distributions
-
Single distribution histogram and density plots: Showing the distribution of a single variable using histograms or density plots.
-
Multiple distribution histogram and density plot: Comparing multiple distributions using histograms and density plots.
-
Visualizing many distributions at once using boxplots, sina plots and ridgeline plots: Illustrating the distribution of data using boxes and whiskers and the density of multiple distributions along a common axis using ridgeline plots.
-
-
Visualizing associations
- Scatter plots and correlograms: Illustrating the relationship between two variables using scatter plots, correlograms and paired data points.
To run these notebooks locally, follow these steps:
-
Clone the repository:
git clone https://github.com/bokeh/dataviz-fundamentals.git
-
Navigate to the project directory via the terminal or command prompt.
-
Create a new conda environment and install the required dependencies:
conda env create -n <name> -f environment.yml
replacing <name>
with your preferred environment name.
-
Activate the new environment:
conda activate <name>
-
Open Jupyter notebook via anaconda navigator or via the command line:
jupyter notebook
-
Open the desired notebook in your web browser and run the cells.
Contributions are welcome! If you would like to contribute to this project, please follow the guidelines below:
-
Fork the repository and create your branch.
-
Make your changes and ensure the code follows the project's coding style.
-
Test your changes thoroughly.
-
Run:
pre-commit install
to install the pre-commit hooks locally.
-
Commit your changes.
-
Submit a pull request with a clear description of your changes.
This project is licensed under the MIT and BSD 3-Clause licence. By contributing to this project, you agree to abide by the Bokeh Code of Conduct.