-
Notifications
You must be signed in to change notification settings - Fork 4
/
chart_0.html
17 lines (16 loc) · 1.23 KB
/
chart_0.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<!DOCTYPE html>
<html>
<head>
<script src="https://cdn.jsdelivr.net/npm/vega@5"></script>
<script src="https://cdn.jsdelivr.net/npm/vega-lite@5.8.0"></script>
<script src="https://cdn.jsdelivr.net/npm/vega-embed@6"></script>
</head>
<body>
<div class="vega-visualization" id="vega-visualization-837b574ce1344ae5968860329a39803f"></div>
<script type="text/javascript">
const spec = {"config": {"view": {"continuousWidth": 300, "continuousHeight": 300}}, "data": {"name": "data-34a0fa94efb282f29f1d039f470be3e1"}, "mark": {"type": "line"}, "encoding": {"x": {"field": "date", "type": "temporal"}, "y": {"field": "value", "type": "quantitative"}}, "height": 250, "title": {"text": "Debt", "anchor": "middle", "fontSize": 16, "fontWeight": "normal", "subtitle": "Central government debt, total (% of GDP) | BBS (WB) through ECO API"}, "width": 320, "$schema": "https://vega.github.io/schema/vega-lite/v5.8.0.json", "datasets": {"data-34a0fa94efb282f29f1d039f470be3e1": [{"date": "2001-01-01", "value": 31.462}, {"date": "2002-01-01", "value": 31.864}, {"date": "2003-01-01", "value": 31.204}]}};
const embedOpt = {};
vegaEmbed('#vega-visualization-837b574ce1344ae5968860329a39803f', spec, embedOpt).catch(console.error);
</script>
</body>
</html>