Skip to content

Instantly share code, notes, and snippets.

View domoritz's full-sized avatar
📊
charting new territory

Dominik Moritz domoritz

📊
charting new territory
View GitHub Profile
#!/usr/bin/env bash
wget https://transtats.bts.gov/PREZIP/$1 --quiet --no-check-certificate
unzip -q -o $1
rm $1
@domoritz
domoritz / spec.json
Created February 3, 2022 01:56
Vega-Lite spec from Wed Feb 02 2022
{
"$schema": "https://vega.github.io/schema/vega-lite/v5.json",
"description": "A simple bar chart with embedded data.",
"data": {
"values": [
{"a": "A", "b": 28}, {"a": "B", "b": 55}, {"a": "C", "b": 43},
{"a": "D", "b": 91}, {"a": "E", "b": 81}, {"a": "F", "b": 53},
{"a": "G", "b": 19}, {"a": "H", "b": 87}, {"a": "I", "b": 52}
]
},
@domoritz
domoritz / flights-10m.parquet
Last active January 21, 2022 16:24
Flights Parquet
This file has been truncated, but you can view the full file.
@domoritz
domoritz / beer.csv
Last active November 16, 2021 03:26
Beers Parquet Files
name style brewery_id abv ibu
#002 American I.P.A. American IPA 211 0.071 60
#004 Session I.P.A. American IPA 211 0.048 38
#9 Fruit / Vegetable Beer 303 0.051 20
077XX American Double / Imperial IPA 222 0.078 80
113 IPA American IPA 371 0.07 113
12th Round American Strong Ale 376 0.076 78
13 Rebels ESB Extra Special / Strong Bitter (ESB) 433 0.052 42
1327 Pod's ESB Extra Special / Strong Bitter (ESB) 380 0.056 37
14° ESB Extra Special / Strong Bitter (ESB) 75 0.056 32
@domoritz
domoritz / spec.json
Created March 5, 2021 19:30
Renderer performance test
{
"$schema": "https://vega.github.io/schema/vega/v5.json",
"description": "An animated scatterplot with N points",
"width": 500,
"height": 300,
"autosize": "none",
"signals": [
{
"name": "t",
"value": 0,
@domoritz
domoritz / Readme
Last active February 22, 2021 23:53
DuckDB
From https://github.com/cwida/duckdb/releases/tag/master-builds on feb 23, 2021
@domoritz
domoritz / flights-1m.arrow
Last active April 29, 2021 04:15
flights-1m.arrow
This file has been truncated, but you can view the full file.
@domoritz
domoritz / spec.json
Created January 13, 2021 11:30
Slope Chart Comparison for Keynote
{
"$schema": "https://vega.github.io/schema/vega-lite/v4.json",
"data": {"url": "data/barley.json"},
"hconcat": [
{
"mark": {"type": "line", "size": 3},
"height": 250,
"width": {"step": 60},
"encoding": {
"x": {
@domoritz
domoritz / spec.json
Created October 27, 2020 04:57
Vega-Lite spec from Mon Oct 26 2020
{
"$schema": "https://vega.github.io/schema/vega-lite/v4.json",
"description": "A simple bar chart with embedded data.",
"data": {
"values": [
{"a": "A", "b": 28}, {"a": "B", "b": 55}, {"a": "C", "b": 43},
{"a": "D", "b": 91}, {"a": "E", "b": 81}, {"a": "F", "b": 53},
{"a": "G", "b": 19}, {"a": "H", "b": 87}, {"a": "I", "b": 52}
]
},