Data from http://scrippsco2.ucsd.edu/data/atmospheric_co2/primary_mlo_co2_record but modified to only include date and CO2 for month with valid data.
forked from domoritz's block: Vega-Lite Carbon Dioxide in the Atmosphere
xxxxxxxxxx
<head>
<meta charset="utf-8">
<script src="https://cdnjs.cloudflare.com/ajax/libs/vega/5.7.0/vega.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/vega-lite/4.0.0-beta.9/vega-lite.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/vega-embed/5.1.3/vega-embed.min.js"></script>
<style>
body {
font-family: sans-serif;
}
.vega-actions a {
padding: 0.2em;
}
</style>
</head>
<body>
<div id="vis"></div>
<script>
const spec = "spec.vl.json";
vegaEmbed('#vis', spec)
.then(() => console.log('here'))
.catch(console.warn);
</script>
</body>
https://cdnjs.cloudflare.com/ajax/libs/vega/5.7.0/vega.min.js
https://cdnjs.cloudflare.com/ajax/libs/vega-lite/4.0.0-beta.9/vega-lite.min.js
https://cdnjs.cloudflare.com/ajax/libs/vega-embed/5.1.3/vega-embed.min.js