bl.ocks.org/Eleonore9/0a759cc56022e40930530f32a0d92525
Bar chart made with Vega-Lite for a blog post.
Vega-Lite is a simple JSON like grammar to create (interactive) data visualisations.
The data used is only testing data added to the script:
"data": {
"values": [{"element": 1, "value": 4},
{"element": 2, "value": 8},
{"element": 3, "value": 15},
{"element": 4, "value": 16},
{"element": 5, "value": 23},
{"element": 6, "value": 42}]
}
https://cdn.jsdelivr.net/npm/vega@3
https://cdn.jsdelivr.net/npm/vega-lite@2
https://cdn.jsdelivr.net/npm/vega-embed@3
https://cdn.jsdelivr.net/npm/vega-tooltip@0