Skip to content

Instantly share code, notes, and snippets.

View Giammaria's full-sized avatar

Madison Giammaria Giammaria

View GitHub Profile
@Giammaria
Giammaria / spec.json
Last active October 31, 2025 12:20
20251008_hierarchical_gantt_v_v2.6
{
"$schema": "https://vega.github.io/schema/vega/v6.json",
"bounds": "flush",
"autosize": {"resize": true, "type": "pad", "contains": "padding"},
"background": "#fff",
"signals": [
{"name": "isPowerBIVisual", "value": false},
{"name": "desiredHeight", "update": "400"},
{"name": "desiredWidth", "update": "1300"},
{
@Giammaria
Giammaria / spec.json
Last active October 17, 2025 19:06
20251008_hierarchical_gantt_v_v2.5
{
"$schema": "https://vega.github.io/schema/vega/v6.json",
"bounds": "flush",
"autosize": {"resize": true, "type": "pad", "contains": "padding"},
"background": "#fff",
"signals": [
{"name": "isPowerBIVisual", "value": false},
{"name": "desiredHeight", "update": "900"},
{"name": "desiredWidth", "update": "1300"},
{
@Giammaria
Giammaria / spec.json
Last active October 16, 2025 13:33
20251008_hierarchical_gantt_v_v2.4
{
"$schema": "https://vega.github.io/schema/vega/v6.json",
"bounds": "flush",
"autosize": {"resize": true, "type": "pad", "contains": "padding"},
"background": "#fff",
"signals": [
{"name": "isPowerBIVisual", "value": false},
{"name": "desiredHeight", "update": "900"},
{"name": "desiredWidth", "update": "1300"},
{
@Giammaria
Giammaria / spec.json
Last active October 12, 2025 19:36
20251008_hierarchical_gantt_v_v2.3
{
"$schema": "https://vega.github.io/schema/vega/v6.json",
"bounds": "flush",
"autosize": {"resize": true, "type": "pad", "contains": "padding"},
"background": "#fff",
"signals": [
{"name": "isPowerBIVisual", "value": false},
{"name": "desiredHeight", "update": "300"},
{"name": "desiredWidth", "update": "1300"},
{
@Giammaria
Giammaria / spec.json
Last active October 8, 2025 14:27
20250409_hierarchical_gantt_v_v2.2
{
"$schema": "https://vega.github.io/schema/vega/v6.json",
"bounds": "flush",
"autosize": {"type": "pad", "contains": "padding"},
"background": "#fff",
"signals": [
{"name": "isPowerBIVisual", "value": false},
{"name": "desiredHeight", "update": "300"},
{"name": "desiredWidth", "update": "1300"},
{
@Giammaria
Giammaria / spec.json
Last active April 16, 2025 16:54
20250409_hierarchical_gantt_v_v2
{
"$schema": "https://vega.github.io/schema/vega/v6.json",
"background": "#fff",
"signals": [
{"name": "desiredHeight", "update": "300"},
{
"name": "adjustedHeight",
"description": "he initial height of the visualization, set to 300. Rows that go beyond this height will require scrolling/panning",
"update": "min(desiredHeight, actualHeight)"
},
@Giammaria
Giammaria / spec.json
Created April 9, 2025 18:11
20250409_drilldown_bar_chart_v_v1
{
"$schema": "https://vega.github.io/schema/vega/v6.json",
"width": 600,
"autosize": {"contains": "padding", "type": "fit"},
"signals": [
{"name": "desiredHeight", "init": "400"},
{"name": "height", "init": "400"},
{
"name": "configCategories",
"init": "{sortedValues: ['North', 'South', 'East', 'West'], title: 'Region', step: 150}"
@Giammaria
Giammaria / spec.json
Last active March 27, 2025 15:33
20250327_easing_functions_vl
{
"$schema": "https://vega.github.io/schema/vega-lite/v5.json",
"usermeta": {
"version": "01.01",
"developedBy": "Madison Giammaria",
"gitHub": "https://github.com/Giammaria",
"linkedIn": "https://www.linkedin.com/in/madison-giammaria-58463b33",
"email": "[email protected]",
"visualName": "Easing Formulas",
"visualDescription": "Here you can compare different easing functions and see their respective formulas. This isn't a comprehensive list of easing functions, but these are definitely some popular ones. Special thanks to Pavithra Kodmad for writing this excellent article on understanding easing! https://css-tricks.com/ease-y-breezy-a-primer-on-easing-functions/ A few months prior to making this, I would not have thought that this would be feasible in Vega-Lite."
@Giammaria
Giammaria / spec.json
Last active March 10, 2025 17:10
20250308_numeric_bar_kpi_v_v1
{
"$schema": "https://vega.github.io/schema/vega/v5.json",
"width": 300,
"autosize": {"type": "none"},
"signals": [
{"name": "title", "value": "Metric Name"},
{"name": "padding", "value": 0},
{"name": "height", "update": "width"},
{
"name": "darkMode",
@Giammaria
Giammaria / spec.json
Last active March 7, 2025 15:20
20250307_percentage_gauge_v_v1
{
"$schema": "https://vega.github.io/schema/vega/v5.json",
"width": 300,
"height": 300,
"autosize": {"type": "pad"},
"signals": [
{"name": "padding", "value": 0},
{
"name": "darkMode",
"init": "true",