How busy are Norwegian airports? Data, Plotly, and Dash, can help us see.

Image for post
Image for post
Photo by Tomas Williams on Unsplash

Live demo of the dashboard Active-Airport or see the project at GitHub.


Norway is geographically a large country compared to other European nations, especially when comparing landmass versus its inhabitants. Norway has industrial epicenters spread across the country. Many Norwegian companies often open new smaller offices to get the right people if they are unwilling to move or if there are enough people in that location to make economic sense. Moreover, a company’s location may be geographically divided when one company acquires another. Such factors have resulted in a lot of domestic airline travel. …

The Imputer from Scratch project was my selection for demonstrating my understanding of object-oriented programming in my OOP course, which was assessed at 97%.

Image for post
Image for post
Class Diagram


The main focus of this report on laboratory work is demonstrating the understanding of object-oriented programming principles and how to apply them.

Every step of the implementation is explained; it is therefore assumed that additional code documentation is redundant. However, to demonstrate an understanding of the documentation conventions described in PEP 257, examples are included in the class Imputer.

Since the code is made for demonstration purposes and not intended for reuse, error handling is also reduced to two examples of raising errors in the class Imputer.


The Imputer will be implementing the strategy pattern for its choices of imputation, which enables the algorithm used to vary independently at runtime. Thereby applying Design Principle 1: Identify the aspects of your application that vary and separate them from what stays the same.

See the colors you are working with.

Image for post
Image for post
Photo by Paweł Czerwiński on Unsplash

I looked into word embeddings for my bachelor thesis and stumbled into a great GitHub Gist by Allison Parrish[1] titled “Understanding word vectors”. Her Gist is very educational, explaining everything from the ground up. However, the section about colors as vectors did not show the colors being discussed. Since I am a visual learner, I wanted to implement some way of plotting the colors to see them. I realized that this could be a handy tool in other circumstances, and I have extracted what I made and modified it to work without her Gists context.

Color basis

Let’s start by loading the color information from Darius Kazemi’s GitHub repository[2] containing a JSON file with the xkcd color names and values. …


Lewi Uberg

I’m a husband, father of three boys, a former design engineer, and a final year data science student.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store