This repository contains code examples relating to the Visualization module of the DataTree online course, presented as Jupyter notebooks. The best way to view the examples is to follow these links:
- Experimenting with colour scales
- Exploring map projections
- Visualizing timeseries data
- Interactive visualization
If you want to run the examples yourself, you will need to download the code from this repository: click "Clone or download" (green button) above, or download the files individually by browsing the file tree above.
Examples require Python3 to run, plus some common scientific packages:
- Numpy - numeric data handling
- Matplotlib - plotting and charting
- Cartopy - for geographic data
- Bokeh - interactive visualization
Many Python distributions (e.g. Anaconda and Python(x,y)) will include most or all of these libraries already, but you may need to install some yourself. For example, if you use a Conda-based distribution you may have to run:
conda install -c conda-forge cartopy
to install Cartopy. Check the documentation of your Python distribution, or the web pages of the individual libraries, for more information.
All content in this repository is licensed under a "BSD 3-clause" licence; see LICENSE.txt. This permits the use and modification of the code for any purpose (e.g. private study, research or commercial purposes) provided that you follow the licence conditions.