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
@domoritz
domoritz / flights-10k.arrow
Last active April 29, 2021 04:18
Flights Arrow File
@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 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 / 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}
]
},
@domoritz
domoritz / .block
Last active October 4, 2020 21:05
Interpreter with Vega-Lite
license: mit
@domoritz
domoritz / spec.json
Last active September 28, 2020 21:51
Vega tooltip with images
{
"$schema": "https://vega.github.io/schema/vega/v5.json",
"padding": 5,
"height": 100,
"data": [
{
"name": "data",
"values": [
{"img": "data/ffox.png"},
{"img": "data/gimp.png"},
@domoritz
domoritz / spec.json
Last active August 18, 2020 04:40
Gapminder Interactive
{
"$schema": "https://vega.github.io/schema/vega-lite/v4.json",
"description": "Drag the sliders to highlight points.",
"data": {"url": "data/gapminder.json"},
"width": 800,
"height": 500,
"layer": [
{
"transform": [
{"filter": {"field": "country", "equal": "Afghanistan"}},