/dashboard

✈️📉 Interactive Dashboard showing Historical Efficiency Improvements of Commercial Aircraft

Primary LanguageJupyter NotebookBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

Aircraft Efficiency Dashboard

Setup Python Environment

Set up a Python virtual environment that includes all packages required to build the documentation. A Conda environment file is provided for convenient setup. The file is located at ./environment.yml. Install the environment dashboard by running from the repository root directory:

conda env create -f 'environment.yml'

and activate the environment:

conda activate dashboard

You are now ready to render the dashboard and thereafter convert it to a WASM Web Worker...

Build and Deploy

To convert the Panel application (.ipynb or py) to a standalone HTML file, run:

Note

Replace <PANEL_APP> and <REQUIREMENTS_FILE> with the file paths to the Panel application and the requirements file.

panel convert <PANEL_APP> --to pyodide-worker --index --requirements <REQUIREMENTS_FILE> --out pyodide

The GitHub Actions workflow deploy.yml will deploy the ./pyodide/index.html) to GitHub Pages on every push to the main branch.