Lecture 25, Putting it all together.

In this lecture, we will cover a topic not directly related to data visualization, but that will inevitably come up when you try to write a larger project. In larger projects, you will need to have your web page communicate with the web server, typically to request data on-demand. You will almost never want to load the entirety of the database of interest upon loading, and so you need to know how these communications work.

Specifically, we will go through the source code of a small, but complete, project that creates a custom web server. We will write the web server in Python using Flask, but there are many other options (see below).

There are no slides for today’s lecture, but the source code for the web server and the webpage that talks to it is available here:

Additional Material