Created
January 28, 2018 23:18
-
-
Save davidanthoff/acff2966a27c9e8833a621756f8be15c to your computer and use it in GitHub Desktop.
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
{ | |
"cells": [ | |
{ | |
"cell_type": "code", | |
"source": [ | |
"using VegaLite" | |
], | |
"outputs": [ | |
{ | |
"output_type": "stream", | |
"name": "stderr", | |
"text": [ | |
"\u001b[1m\u001b[36mINFO: \u001b[39m\u001b[22m\u001b[36mRecompiling stale cache file C:\\Users\\david\\.julia\\lib\\v0.6\\VegaLite.ji for module VegaLite.\n", | |
"\u001b[39mWARNING: Method definition media(Type{T<:(VegaLite.VLSpec{T} where T)}) in module VegaLite at C:\\Users\\david\\.julia\\v0.6\\Media\\src\\system.jl:73 overwritten at C:\\Users\\david\\.julia\\v0.6\\Media\\src\\system.jl:73.\n", | |
"WARNING: Method definition render(Juno.PlotPane, VegaLite.VLSpec{T} where T) in module VegaLite at C:\\Users\\david\\.julia\\v0.6\\Media\\src\\system.jl:179 overwritten at C:\\Users\\david\\.julia\\v0.6\\Media\\src\\system.jl:179.\n", | |
"WARNING: Method definition render(Juno" | |
] | |
} | |
], | |
"execution_count": 1, | |
"metadata": { | |
"collapsed": false, | |
"outputHidden": false, | |
"inputHidden": false | |
} | |
}, | |
{ | |
"cell_type": "code", | |
"source": [ | |
"vl\"\"\"\n", | |
"{\n", | |
" \"encoding\": {\n", | |
" \"x\": {\n", | |
" \"bin\": {\n", | |
" \"maxbins\": 10\n", | |
" },\n", | |
" \"field\": \"IMDB_Rating\",\n", | |
" \"type\": \"quantitative\"\n", | |
" },\n", | |
" \"size\": {\n", | |
" \"aggregate\": \"count\",\n", | |
" \"type\": \"quantitative\"\n", | |
" },\n", | |
" \"y\": {\n", | |
" \"bin\": {\n", | |
" \"maxbins\": 10\n", | |
" },\n", | |
" \"field\": \"Rotten_Tomatoes_Rating\",\n", | |
" \"type\": \"quantitative\"\n", | |
" }\n", | |
" },\n", | |
" \"data\": {\n", | |
" \"url\": \"https://raw.githubusercontent.com/vega/new-editor/master/data/movies.json\"\n", | |
" },\n", | |
" \"mark\": {\n", | |
" \"type\": \"circle\"\n", | |
" }\n", | |
"}\n", | |
"\"\"\"" | |
], | |
"outputs": [ | |
{ | |
"output_type": "stream", | |
"name": "stderr", | |
"text": [ | |
".PlotPane, VegaLite.VLSpec{T" | |
] | |
}, | |
{ | |
"output_type": "execute_result", | |
"execution_count": 2, | |
"data": { | |
"text/plain": [ | |
"VegaLite.VLSpec{:plot}(Dict{String,Any}(Pair{String,Any}(\"encoding\", Dict{String,Any}(Pair{String,Any}(\"x\", Dict{String,Any}(Pair{String,Any}(\"bin\", Dict{String,Any}(Pair{String,Any}(\"maxbins\", 10))),Pair{String,Any}(\"field\", \"IMDB_Rating\"),Pair{String,Any}(\"type\", \"quantitative\"))),Pair{String,Any}(\"size\", Dict{String,Any}(Pair{String,Any}(\"aggregate\", \"count\"),Pair{String,Any}(\"type\", \"quantitative\"))),Pair{String,Any}(\"y\", Dict{String,Any}(Pair{String,Any}(\"bin\", Dict{String,Any}(Pair{String,Any}(\"maxbins\", 10))),Pair{String,Any}(\"field\", \"Rotten_Tomatoes_Rating\"),Pair{String,Any}(\"type\", \"quantitative\"))))),Pair{String,Any}(\"data\", Dict{String,Any}(Pair{String,Any}(\"url\", \"https://raw.githubusercontent.com/vega/new-editor/master/data/movies.json\"))),Pair{String,Any}(\"mark\", Dict{String,Any}(Pair{String,Any}(\"type\", \"circle\")))))" | |
], | |
"application/vnd.vegalite.v2+json": "{\"encoding\":{\"x\":{\"bin\":{\"maxbins\":10},\"field\":\"IMDB_Rating\",\"type\":\"quantitative\"},\"size\":{\"aggregate\":\"count\",\"type\":\"quantitative\"},\"y\":{\"bin\":{\"maxbins\":10},\"field\":\"Rotten_Tomatoes_Rating\",\"type\":\"quantitative\"}},\"data\":{\"url\":\"https://raw.githubusercontent.com/vega/new-editor/master/data/movies.json\"},\"mark\":{\"type\":\"circle\"}}" | |
}, | |
"metadata": {} | |
}, | |
{ | |
"output_type": "stream", | |
"name": "stdout", | |
"text": [ | |
"USED THIS ONE\n" | |
] | |
}, | |
{ | |
"output_type": "stream", | |
"name": "stderr", | |
"text": [ | |
"} where T) in module VegaLite at C:\\Users\\david\\.julia\\v0.6\\Media\\src\\system.jl:179 overwritten at C:\\Users\\david\\.julia\\v0.6\\Media\\src\\system.jl:179.\n", | |
"WARNING: Method definition media(Type{T<:(VegaLite.VLSpec{T} where T)}) in module VegaLite at C:\\Users\\david\\.julia\\v0.6\\Media\\src\\system.jl:73 overwritten at C:\\Users\\david\\.julia\\v0.6\\Media\\src\\system.jl:73.\n" | |
] | |
} | |
], | |
"execution_count": 2, | |
"metadata": { | |
"collapsed": false, | |
"outputHidden": false, | |
"inputHidden": false | |
} | |
}, | |
{ | |
"cell_type": "code", | |
"source": [], | |
"outputs": [], | |
"execution_count": null, | |
"metadata": { | |
"collapsed": false, | |
"outputHidden": false, | |
"inputHidden": false | |
} | |
} | |
], | |
"metadata": { | |
"kernelspec": { | |
"name": "julia-0.6", | |
"language": "julia", | |
"display_name": "Julia 0.6.2" | |
}, | |
"kernel_info": { | |
"name": "julia-0.6" | |
}, | |
"language_info": { | |
"file_extension": ".jl", | |
"name": "julia", | |
"mimetype": "application/julia", | |
"version": "0.6.2" | |
}, | |
"nteract": { | |
"version": "0.6.2" | |
} | |
}, | |
"nbformat": 4, | |
"nbformat_minor": 4 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment