Skip to content

Instantly share code, notes, and snippets.

@henningninneh
henningninneh / meat.py
Last active October 7, 2025 09:49
A quick analysis of meat consumption across EU countries, using online sources.
import pandas as pd
import matplotlib.pyplot as plt
meat = pd.read_csv("https://ourworldindata.org/grapher/daily-meat-consumption-per-person.csv?v=1&csvType=full&useColumnShortNames=true")
eu = pd.read_csv("https://raw.githubusercontent.com/jfjelstul/eums/refs/heads/master/data-raw/member_states_raw.csv")
eu = eu.replace("Czech Republic", "Czechia")["member_state"]
meat.columns = ["country", "code", "year", "meat"] # meat = grams per day per capita
@henningninneh
henningninneh / pandoc.css
Created September 29, 2016 07:46 — forked from killercup/pandoc.css
Add this to your Pandoc HTML documents using `--css pandoc.css` to make them look more awesome. (Tested with Markdown and LaTeX.)
/*
* I add this to html files generated with pandoc.
*/
html {
font-size: 100%;
overflow-y: scroll;
-webkit-text-size-adjust: 100%;
-ms-text-size-adjust: 100%;
}