Code to accompany the article:

Google Mesop is an easy-to-use Python UI framework. We see how to use it to create Data Visualization app with Plotly.

Files and directories:

  • CO2 - this directory contains all of the file for the data viz app
    • main.py is the file Mesop file that should be run and contains all of the pages
    • styles.py contains useful style that are used elsewhere
    • utils.py - useful functions like to construct the HTML for a Plotly chart
  • samples - this directory contains sample file for demonstrating aspects of Mesop (e.g. components and layouts)

If you find this content useful, please consider one or more of the following:

Buy Me a Coffee at ko-fi.com


Please note that the code in this repo is for educational and demonstration purposes. It should not be considered suitable for production.