Created
October 2, 2020 09:37
-
-
Save sverhoeven/03b2ffa85f745b155bd9846caf8b0ffc to your computer and use it in GitHub Desktop.
run-cpp-on-web: vega
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
const spec = { | |
"$schema": "https://vega.github.io/schema/vega-lite/v4.json", | |
"width": 800, | |
"height": 600, | |
"title": { | |
<stuff related to the title> | |
}, | |
"data": { | |
<holds the iterations we want to plot as an array of iteration objects> | |
}, | |
"encoding": { | |
<defines stuff related to which field should go on which axis> | |
}, | |
"mark": { | |
<defines the line plot> | |
}, | |
"selection": { | |
<defines how users can interact with the plot> | |
} | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment