Skip to content

Instantly share code, notes, and snippets.

View Giammaria's full-sized avatar

Madison Giammaria Giammaria

View GitHub Profile
@Giammaria
Giammaria / .block
Created August 20, 2019 12:25
Concentric Circles Emanating
license: gpl-3.0
@Giammaria
Giammaria / spec.json
Created January 25, 2023 16:14
Deneb Have It Your Way
{
"$schema": "https://vega.github.io/schema/vega-lite/v5.json",
"data": {
"name": "dataset",
"values": [
{"beef": "DENEB", "bun": "top"},
{"beef": "DENEB", "bun": "bottom"}
]
},
"width": 260,
@Giammaria
Giammaria / spec.json
Created January 27, 2023 15:58
Vega-Lite spec from Fri Jan 27 2023
{
"title": {
"text": "Concordance Produit / Projet, réalisé à partir du planning "
},
"data": {
"values": [
{
"Projet": "Project",
"Produit": "Product1",
"ID_task": "Projet",
@Giammaria
Giammaria / spec.json
Created January 30, 2023 13:06
Matrix With Multiple Aggregations - Mon Jan 30 2023
{
"$schema": "https://vega.github.io/schema/vega-lite/v5.json",
"data": {
"name": "dataset",
"values": [
{"B1": 2, "B2": 7, "B3": 24},
{"B1": 6, "B2": 12, "B3": 5},
{"B1": 15, "B2": 2, "B3": 56},
{"B1": 15, "B2": 12, "B3": 13}
]
@Giammaria
Giammaria / spec.json
Created February 4, 2023 23:50
Date Explosion Example - Vega-Lite
{
"$schema": "https://vega.github.io/schema/vega-lite/v4.json",
"description": "Visualize before and after data explosion using vega-lite transforms",
"params": [{"name": "msPerDay", "expr": "86400000"}],
"spacing": 45,
"data": {
"name": "table",
"values": [{"item": "Item A", "start": "2023-01-01", "end": "2023-01-10"}]
},
"transform": [
@Giammaria
Giammaria / spec.json
Created February 5, 2023 00:14
Vega-Lite spec from Sat Feb 04 2023
{
"$schema": "https://vega.github.io/schema/vega-lite/v5.json",
"description": "Visualize before and after data explosion using vega-lite transforms",
"params": [{"name": "msPerDay", "expr": "86400000"}],
"spacing": 45,
"data": {
"name": "table",
"values": [{"item": "Item A", "start": "2023-01-01", "end": "2023-01-10"}]
},
"transform": [
@Giammaria
Giammaria / spec.json
Created February 5, 2023 00:15
Date Explosion Example - Vega-Lite
{
"$schema": "https://vega.github.io/schema/vega-lite/v5.json",
"description": "Visualize before and after data explosion using vega-lite transforms",
"params": [{"name": "msPerDay", "expr": "86400000"}],
"spacing": 45,
"data": {
"name": "table",
"values": [{"item": "Item A", "start": "2023-01-01", "end": "2023-01-10"}]
},
"transform": [
@Giammaria
Giammaria / spec.json
Created February 6, 2023 14:40
PBI Community Help: Deneb - Independent Y-Axis Field on a facetted plot
{
"title": {
"text": "Concordance Produit / Projet, réalisé à partir du planning "
},
"data": {
"values": [
{
"Projet": "Project",
"Produit": "Product1",
"ID_task": "Projet",
@Giammaria
Giammaria / spec.json
Created February 10, 2023 19:03
Bubbles on a 'timeline' - Feb 10 2023
{
"$schema": "https://vega.github.io/schema/vega-lite/v5.json",
"params": [
{"name": "min_adj_pos", "expr": "data('data_0')[0]['min_adj_pos']"},
{"name": "max_adj_pos", "expr": "data('data_0')[0]['max_adj_pos']"},
{"name": "color_scheme", "expr": "'tableau20'"},
{
"name": "pill_path",
"expr": "'m 64.920826,87.413086 h 92.524964 c 14.1599,0 25.55938,14.249354 25.55938,31.949234 0,17.69986 -11.39948,31.94922 -25.55938,31.94922 H 64.920826 c -14.159896,0 -25.55938,-14.24936 -25.55938,-31.94922 0,-17.69988 11.399484,-31.949234 25.55938,-31.949234 z'"
},
@Giammaria
Giammaria / spec.json
Last active February 10, 2023 20:46
Bubbles on a 'timeline' - Feb 10 2023
{
"$schema": "https://vega.github.io/schema/vega-lite/v5.json",
"params": [
{"name": "min_adj_pos", "expr": "data('data_0')[0]['min_adj_pos']"},
{"name": "max_adj_pos", "expr": "data('data_0')[0]['max_adj_pos']"},
{"name": "color_scheme", "expr": "'tableau20'"},
{
"name": "pill_path",
"expr": "'m 64.920826,87.413086 h 92.524964 c 14.1599,0 25.55938,14.249354 25.55938,31.949234 0,17.69986 -11.39948,31.94922 -25.55938,31.94922 H 64.920826 c -14.159896,0 -25.55938,-14.24936 -25.55938,-31.94922 0,-17.69988 11.399484,-31.949234 25.55938,-31.949234 z'"
},