Gebruiker:Romaine/Grafieken: verschil tussen versies

Verwijderde inhoud Toegevoegde inhoud
Regel 4.981:
pos:(810,8) text:1990
</timeline>
 
==== Grafiek 8 ====
Grafiek met graph
 
Bron: [[Coronacrisis in Aruba|hier]]
<graph>{
"version": 2,
"width": 400,
"height": 200,
"data": [
{
"name": "table",
"values": [
{
"x": 0,
"y": 1
},
{
"x": 1,
"y": 1
},
{
"x": 2,
"y": 2
},
{
"x": 3,
"y": 3
},
{
"x": 4,
"y": 4
},
{
"x": 5,
"y": 4
},
{
"x": 6,
"y": 4
},
{
"x": 7,
"y": 5
},
{
"x": 8,
"y": 8
},
{
"x": 9,
"y": 9
},
{
"x": 10,
"y": 12
},
{
"x": 11,
"y": 17
},
{
"x": 12,
"y": 19
},
{
"x": 13,
"y": 28
},
{
"x": 14,
"y": 33
},
{
"x": 15,
"y": 46
},
{
"x": 16,
"y": 50
}
]
}
],
"scales": [
{
"name": "x",
"type": "linear",
"range": "width",
"zero": false,
"domain": {
"data": "table",
"field": "x"
}
},
{
"name": "y",
"type": "linear",
"range": "height",
"nice": true,
"domain": {
"data": "table",
"field": "y"
}
}
],
"axes": [
{
"type": "x",
"scale": "x",
"title": "Dagen sinds de eerste besmetting"
},
{
"type": "y",
"scale": "y",
"title": "Besmettingen"
}
],
"marks": [
{
"type": "line",
"from": {
"data": "table"
},
"properties": {
"enter": {
"x": {
"scale": "x",
"field": "x"
},
"y": {
"scale": "y",
"field": "y"
},
"y2": {
"scale": "y",
"value": 0
},
"interpolate": {
"value": "monotone"
},
"stroke": {
"value": "steelblue"
},
"strokeWidth": {
"value": 3
}
}
}
}
]
}</graph>
 
=== Overige ===