Created
March 12, 2021 22:48
-
-
Save davidanthoff/2283338575e7584a0d91fb1cc18fde9d 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", | |
"execution_count": 1, | |
"metadata": { | |
"nteract": { | |
"transient": { | |
"deleting": false | |
} | |
} | |
}, | |
"outputs": [], | |
"source": [ | |
"using VegaLite" | |
] | |
}, | |
{ | |
"cell_type": "code", | |
"execution_count": 2, | |
"metadata": { | |
"nteract": { | |
"transient": { | |
"deleting": false | |
} | |
} | |
}, | |
"outputs": [ | |
{ | |
"data": { | |
"application/vnd.vegalite.v4+json": { | |
"data": { | |
"values": [ | |
{ | |
"x": 0.57281665991664, | |
"y": 0.9155950321735609 | |
}, | |
{ | |
"x": 0.615513065265175, | |
"y": 0.7199906030411005 | |
}, | |
{ | |
"x": 0.12550140947192956, | |
"y": 0.8675623756591213 | |
}, | |
{ | |
"x": 0.5131896062580288, | |
"y": 0.4156384430695583 | |
}, | |
{ | |
"x": 0.6981231227664684, | |
"y": 0.5340998511464705 | |
}, | |
{ | |
"x": 0.9251496765958054, | |
"y": 0.6040574723307708 | |
}, | |
{ | |
"x": 0.8906147083016813, | |
"y": 0.8642638716893043 | |
}, | |
{ | |
"x": 0.13763552111757482, | |
"y": 0.8417589206231442 | |
}, | |
{ | |
"x": 0.484513382255912, | |
"y": 0.005024074706952764 | |
}, | |
{ | |
"x": 0.48635460458321056, | |
"y": 0.7915410684896249 | |
} | |
] | |
}, | |
"encoding": { | |
"x": { | |
"field": "x", | |
"title": null, | |
"type": "quantitative" | |
}, | |
"y": { | |
"field": "y", | |
"title": null, | |
"type": "quantitative" | |
} | |
}, | |
"mark": "point" | |
}, | |
"text/plain": [ | |
"@vlplot(\n", | |
" mark=\"point\",\n", | |
" encoding={\n", | |
" x={\n", | |
" field=\"x\",\n", | |
" title=nothing\n", | |
" },\n", | |
" y={\n", | |
" field=\"y\",\n", | |
" title=nothing\n", | |
" }\n", | |
" },\n", | |
" data={\n", | |
" values=...\n", | |
" }\n", | |
")" | |
] | |
}, | |
"execution_count": 2, | |
"metadata": {}, | |
"output_type": "execute_result" | |
} | |
], | |
"source": [ | |
"@vlplot(:point, rand(10), rand(10))" | |
] | |
} | |
], | |
"metadata": { | |
"kernel_info": { | |
"name": "julia-1.5" | |
}, | |
"kernelspec": { | |
"display_name": "Julia 1.5.3", | |
"language": "julia", | |
"name": "julia-1.5" | |
}, | |
"language_info": { | |
"file_extension": ".jl", | |
"mimetype": "application/julia", | |
"name": "julia", | |
"version": "1.5.3" | |
}, | |
"nteract": { | |
"version": "0.28.0" | |
} | |
}, | |
"nbformat": 4, | |
"nbformat_minor": 4 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment