Tutorial 5

Class Organization

Labs/Assignments

** Tutorial 4 ** Tutorial 6 ** Tutorial 7

** Assignment 2

sidehead Old Pages (2022) * Tutorials ** Tutorial 1 ** Tutorial 2 ** Tutorial 3 and 4 ** Tutorial 5 ** Tutorial 6 * Assignments Overview ** Assignment 0 ** Assignment 1 ** Assignment 2 ** Assignment 3 ** Assignment 4

right edit SideBar

Tutorial 5

Tutorial: Building Data Apps with Panel

Teacher: Natkamon Tovanich

We will build the data visualization dashboard and publish it on your local server using the Panel library.

Before the class

  • We will run develop the dashboard and deploy it on your computer. So please install Jupyter Notebook and the Altair library on your local machine instead of using Google Colab for this tutorial.
  • Install Panel library using conda or pip. Make sure that the Panel version is ≥ 1.3.8.

During the class

  • The student notebook is available for download here.
  • The solution will be posted here after the class.
    • Note: it did not work in the class because I forgot to change "pane.selection.brush.items()" to "selection.item()" in filtered_table(selection) and plot_bar(selection) functions.
    • i.e., "for key, value in pane.selection.brush.items()" --> replace with "selection.items()" should work.

Useful resources

Acknowledgment This tutorial is prepared from Panel's Vega documentation and the PyData 2019 tutorial by James A. Bednar.

Recent Changes (All) | Edit SideBar Page last modified on March 04, 2024, at 06:10 AM Edit Page | Page History
Powered by PmWiki