This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"$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)" | |
}, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"$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}" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"$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." |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"$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", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"$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", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"$schema": "https://vega.github.io/schema/vega/v5.json", | |
"padding": 0, | |
"signals": [ | |
{"name": "width", "update": "windowSize()[0]*0.5"}, | |
{"name": "height", "update": "windowSize()[1]*0.5"}, | |
{ | |
"name": "lassoCoordinates", | |
"init": "null", | |
"on": [ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"$schema": "https://vega.github.io/schema/vega/v5.json", | |
"description": "Zooming and panning in this visualization are controlled through both pointer and touch interactions. Zooming occurs via the mouse wheel or pinch gestures. When using the wheel, the zoom level is adjusted based on the scroll direction and smoothed when the direction remains consistent. The zoom range is clamped between 0.6 and 1.8 to prevent excessive zooming. When performing a pinch gesture, the zoom level updates based on the ratio between the current and initial pinch distances. Zooming is centered on the pointer location unless the Control key is pressed, in which case it zooms around the center of the data domain. Panning occurs when the user clicks and drags or performs a single-finger touch drag. The pan movement is calculated as the difference between the initial and current pointer positions, adjusting the x and y domains accordingly. Panning is disabled when more than one touch is active to prevent conflicts with pinch zo |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"$schema": "https://vega.github.io/schema/vega/v5.json", | |
"signals": [ | |
{"name": "adjustedHeight", "value": 300}, | |
{"name": "width", "value": 1200}, | |
{ | |
"name": "columnsWidthPercent", | |
"value": 0.25, | |
"update": "clamp(columnsWidthPercent, 0, 0.5)" | |
}, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"$schema": "https://vega.github.io/schema/vega/v5.json", | |
"description": "Praise Kier!", | |
"autosize": "pad", | |
"usermeta": { | |
"version": "01.01", | |
"developedBy": "Madison Giammaria", | |
"gitHub": "https://github.com/Giammaria", | |
"linkedIn": "https://www.linkedin.com/in/madison-giammaria-58463b33", | |
"email": "[email protected]", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"$schema": "https://vega.github.io/schema/vega/v5.json", | |
"signals": [ | |
{ | |
"name": "adjustedHeight", | |
"description": "he initial height of the visualization, set to 300. Rows that go beyond this height will require scrolling/panning", | |
"value": 300 | |
}, | |
{ | |
"name": "width", |
NewerOlder