Created
November 6, 2021 21:16
-
-
Save aditeyapandey/e035af2917cd3f2b3e1ad65d1a1a63a5 to your computer and use it in GitHub Desktop.
Prospect Farm 2.1 from Sat Nov 06 2021
This file contains 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", | |
"data": { | |
"values": [ | |
{"Time": "Week 0", "Score": 28}, | |
{"Time": "Week 1", "Score": 22}, | |
{"Time": "Week 2", "Score": 23}, | |
{"Time": "Week 3", "Score": 21}, | |
{"Time": "Week 4", "Score": 20} | |
] | |
}, | |
"title": "<Insert a Title>", | |
"width": "300", | |
"repeat": {"layer": ["Male", "Female"]}, | |
"spec": { | |
"mark": {"type": "line", "point": true}, | |
"encoding": { | |
"x": {"field": "Time", "type": "nominal", "axis": {"labelAngle": "0"}}, | |
"y": { | |
"field": "Score", | |
"type": "quantitative", | |
"title": "Mean of PROMIS Sleep Score", | |
"scale": {"domain": [0, 40]} | |
}, | |
"color": {"value": "#4B0082"} | |
} | |
}, | |
"config": {} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment