You can go to the blockbuilder and to fork this block and create your own visualizations. Check out the Vega website for more information, tutorials, and documentation. This example uses Vega-Embed. Happy hacking!
Also, check out the Vega-Lite version.
forked from domoritz's block: Vega Bl.ocks example
forked from sasconsul's block: Vega Bl.ocks bloodpressure example
xxxxxxxxxx
<html>
<head>
<script src="https://cdn.jsdelivr.net/npm/vega@5"></script>
<script src="https://cdn.jsdelivr.net/npm/vega-lite@4"></script>
<script src="https://cdn.jsdelivr.net/npm/vega-embed@6"></script>
</head>
<body>
<div id="vis"></div>
<script type="text/javascript">
var spec = "https://gist.githubusercontent.com/jhnwllr/f9eee906345f1cb53b8931347d57fa22/raw/2198298239da88b8db40aa98cc0a7ce47613f4d6/occ_kingdom_basisOfRecord.csv";
vegaEmbed('#vis', spec).then(function(result) {
// Access the Vega view instance (https://vega.github.io/vega/docs/api/view/) as result.view
}).catch(console.error);
</script>
</body>
</html>
https://cdn.jsdelivr.net/npm/vega@5
https://cdn.jsdelivr.net/npm/vega-lite@4
https://cdn.jsdelivr.net/npm/vega-embed@6