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/v5.json", | |
"description": "Presentaion timer", | |
"autosize": "none", | |
"signals": [ | |
{"name": "minutes", "init": "30"}, | |
{"name": "innerRadius", "init": "width/4"}, | |
{"name": "startDate", "init": "now()"}, | |
{"name": "endDate", "init": "now()+minutes*60*1000"}, | |
{ |
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/v5.json", | |
"name": "wordcloud", | |
"width": 400, | |
"height": 200, | |
"padding": 0, | |
"autosize": "none", | |
"signals": [ | |
{ |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<script type="text/javascript"> | |
function base64Encode(...parts) { | |
return new Promise(resolve => { | |
const reader = new FileReader(); | |
reader.onload = () => { | |
const offset = reader.result.indexOf(",") + 1; |
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/v5.json", | |
"padding": 5, | |
"width": 400, | |
"height": 400, | |
"signals": [ | |
{ | |
"name": "box_length", | |
"value": 50 | |
}, |
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/v5.json", | |
"description": "Area charts of stock prices, with an interactive overview and filtered detail views.", | |
"width": 720, | |
"height": 480, | |
"padding": 5, | |
"data": [ | |
{ | |
"name": "sp500", |
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/v5.json", | |
"width": 500, | |
"height": 200, | |
"padding": 5, | |
"data": [ | |
{ | |
"name": "table", | |
"values": [ | |
{"x":0,"y":28,"c":0},{"x":0,"y":55,"c":1}, |
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/v5.json", | |
"width": 400, | |
"height": 200, | |
"padding": 5, | |
"data": [ | |
{"name": "threshold", "values": [{"value": 35}]}, | |
{ | |
"name": "table", | |
"values": [ |
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/v5.json", | |
"description": "A basic bar chart example, with value labels shown upon mouse hover.", | |
"width": 400, | |
"height": 300, | |
"padding": 5, | |
"data": [ | |
{"name": "myscale", "values": [{"x": -10, "y": 0}, {"x": 10, "y": 50}]}, | |
{ | |
"name": "leaves", |
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/v5.json", | |
"width": 500, | |
"height": 200, | |
"padding": 5, | |
"data": [ | |
{ | |
"name": "table", | |
"values": [ |
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/v5.json", | |
"width": 600, | |
"height": 340, | |
"padding": 5, | |
"data": [ | |
{ | |
"name": "likes", | |
"format": {"type": "json", "parse": {"created_at": "date"}}, | |
"url": "https://gist.githubusercontent.com/ihgs/c5585789580af7a8b2b919c301ad3d5a/raw/3cbc6d2f0d953df5bbe330e547c851c98683062f/data.json" |
NewerOlder