Streamlit and Palmer Penguins

Udbhav Pangotra
Geek Culture
Published in
2 min readSep 18, 2021

Binged Atypical last week on Netflix, Created an app on penguins on Streamlit!

In 2014, Kristen B. Gorman Published a paper about the Environmental Variability within a Community of Antarctic Penguins, in 2017 Netfix launched the show Atypical, in 2021 I watched the show, found the dataset and created an exploratory dashboard for fun and learning!

The stack I used for this remains minimal, VS Code, CSV data, Heroku and Streamlit.

I’ll briefly give an overview of Steamlit and Heroku :

“Streamlit turns data scripts into shareable web apps in minutes.
All in Python. All for free. No front‑end experience required.”

Heroku is a cloud platform as a service supporting several programming languages. One of the first cloud platforms, Heroku has been in development since June 2007, when it supported only the Ruby programming language, but now supports Java, Node.js, Scala, Clojure, Python, PHP, and Go.

Heroku

Now what is exactly the data and how did I create the webapp and publish it, all free of cost!

The data is from Kaggle! Uploaded by one of the grandmasters for EDA! A link to the dataset is given in the end, this dataset is one of the popular ones on the website with over 97 upvotes and 50 codes written. The data folder contains two CSV files but we focus on the penguins_size.csv

  • species: penguin species (Chinstrap, Adélie, or Gentoo)
  • culmen_length_mm: culmen length (mm)
  • culmen_depth_mm: culmen depth (mm)
  • flipper_length_mm: flipper length (mm)
  • body_mass_g: body mass (g)
  • island: island name (Dream, Torgersen, or Biscoe) in the Palmer Archipelago (Antarctica)
  • sex: penguin sex

What are culmen length & depth?

The culmen is “the upper ridge of a bird’s beak” (definition from Oxford Languages).

Now we go to the code for the app!

And now the App!

The link for the app is Streamlit App

The complete repository for the code is at udbhavpangotra/streamlit_palmer (github.com)

The data can be found at Palmer Archipelago (Antarctica) penguin data | Kaggle

Cheers!

--

--