From Dark and Darker Wiki

(Created page with "A place to try stuff before putting it in the wiki. <div> <canvas id="myChart"></canvas> </div>")
 
No edit summary
Line 1: Line 1:
A place to try stuff before putting it in the wiki.
A place to try stuff before putting it in the wiki.


<div>
<graph>{
  <canvas id="myChart"></canvas>
"version": 2,
</div>
"width": 400,
"height": 200,
"data": [
{
"name": "table",
"values": [
{
"x": 0,
"y": 400
},
{
"x": 1,
"y": 233.3
},
{
"x": 2,
"y": 150
},
{
"x": 3,
"y": 100
},
{
"x": 4,
"y": 66.7
},
{
"x": 5,
"y": 42.9
},
{
"x": 6,
"y": 33.3
},
{
"x": 7,
"y": 25
},
{
"x": 8,
"y": 20.5
},
{
"x": 9,
"y": 16.3
},
{
"x": 10,
"y": 12.4
},
{
"x": 11,
"y": 8.7
},
{
"x": 12,
"y": 6.4
},
{
"x": 13,
"y": 4.2
},
{
"x": 14,
"y": 2
},
{
"x": 15,
"y": 0
},
{
"x": 17,
"y": -2
},
{
"x": 19,
"y": -3.8
},
{
"x": 20,
"y": -4.8
},
{
"x": 21,
"y": -5.7
},
{
"x": 22,
"y": -6.5
},
{
"x": 24,
"y": -8.3
},
{
"x": 29,
"y": -12.3
},
{
"x": 30,
"y": -13
},
{
"x": 31,
"y": -13.8
},
{
"x": 32,
"y": -14.5
},
{
"x": 33,
"y": -15.3
},
{
"x": 36,
"y": -17.4
},
{
"x": 37,
"y": -18
},
{
"x": 39,
"y": -19.4
},
{
"x": 41,
"y": -20.6
},
{
"x": 42,
"y": -21.3
},
{
"x": 44,
"y": -22.5
},
{
"x": 46,
"y": -23.7
},
{
"x": 47,
"y": -24.2
},
{
"x": 49,
"y": -25.4
},
{
"x": 50,
"y": -25.9
},
{
"x": 52,
"y": -26.5
},
{
"x": 53,
"y": -26.7
},
{
"x": 54,
"y": -27
},
{
"x": 55,
"y": -27.3
},
{
"x": 56,
"y": -27.5
},
{
"x": 58,
"y": -28.1
},
{
"x": 59,
"y": -28.3
},
{
"x": 60,
"y": -28.6
},
{
"x": 61,
"y": -28.8
},
{
"x": 62,
"y": -29.1
},
{
"x": 63,
"y": -29.3
},
{
"x": 64,
"y": -29.6
},
{
"x": 65,
"y": -29.8
},
{
"x": 66,
"y": -30.1
},
{
"x": 67,
"y": -30.3
},
{
"x": 68,
"y": -30.6
},
{
"x": 70,
"y": -31
},
{
"x": 71,
"y": -31.3
},
{
"x": 73,
"y": -31.7
},
{
"x": 74,
"y": -32
},
{
"x": 76,
"y": -32.4
},
{
"x": 77,
"y": -32.7
},
{
"x": 80,
"y": -33.3
},
{
"x": 81,
"y": -33.6
},
{
"x": 85,
"y": -34.4
},
{
"x": 86,
"y": -34.6
},
{
"x": 87,
"y": -34.9
},
{
"x": 96,
"y": -36.7
},
{
"x": 97,
"y": -36.9
},
{
"x": 100,
"y": -37.5
}
]
}
],
"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"
},
{
"type": "y",
"scale": "y"
}
],
"marks": [
{
"type": "line",
"from": {
"data": "table"
},
"properties": {
"enter": {
"x": {
"scale": "x",
"field": "x"
},
"y": {
"scale": "y",
"field": "y"
},
"interpolate": {
"value": "monotone"
},
"stroke": {
"value": "steelblue"
},
"strokeWidth": {
"value": 3
}
}
}
}
]
}</graph>

Revision as of 09:51, 5 January 2023

A place to try stuff before putting it in the wiki.

<graph>{ "version": 2, "width": 400, "height": 200, "data": [ { "name": "table", "values": [ { "x": 0, "y": 400 }, { "x": 1, "y": 233.3 }, { "x": 2, "y": 150 }, { "x": 3, "y": 100 }, { "x": 4, "y": 66.7 }, { "x": 5, "y": 42.9 }, { "x": 6, "y": 33.3 }, { "x": 7, "y": 25 }, { "x": 8, "y": 20.5 }, { "x": 9, "y": 16.3 }, { "x": 10, "y": 12.4 }, { "x": 11, "y": 8.7 }, { "x": 12, "y": 6.4 }, { "x": 13, "y": 4.2 }, { "x": 14, "y": 2 }, { "x": 15, "y": 0 }, { "x": 17, "y": -2 }, { "x": 19, "y": -3.8 }, { "x": 20, "y": -4.8 }, { "x": 21, "y": -5.7 }, { "x": 22, "y": -6.5 }, { "x": 24, "y": -8.3 }, { "x": 29, "y": -12.3 }, { "x": 30, "y": -13 }, { "x": 31, "y": -13.8 }, { "x": 32, "y": -14.5 }, { "x": 33, "y": -15.3 }, { "x": 36, "y": -17.4 }, { "x": 37, "y": -18 }, { "x": 39, "y": -19.4 }, { "x": 41, "y": -20.6 }, { "x": 42, "y": -21.3 }, { "x": 44, "y": -22.5 }, { "x": 46, "y": -23.7 }, { "x": 47, "y": -24.2 }, { "x": 49, "y": -25.4 }, { "x": 50, "y": -25.9 }, { "x": 52, "y": -26.5 }, { "x": 53, "y": -26.7 }, { "x": 54, "y": -27 }, { "x": 55, "y": -27.3 }, { "x": 56, "y": -27.5 }, { "x": 58, "y": -28.1 }, { "x": 59, "y": -28.3 }, { "x": 60, "y": -28.6 }, { "x": 61, "y": -28.8 }, { "x": 62, "y": -29.1 }, { "x": 63, "y": -29.3 }, { "x": 64, "y": -29.6 }, { "x": 65, "y": -29.8 }, { "x": 66, "y": -30.1 }, { "x": 67, "y": -30.3 }, { "x": 68, "y": -30.6 }, { "x": 70, "y": -31 }, { "x": 71, "y": -31.3 }, { "x": 73, "y": -31.7 }, { "x": 74, "y": -32 }, { "x": 76, "y": -32.4 }, { "x": 77, "y": -32.7 }, { "x": 80, "y": -33.3 }, { "x": 81, "y": -33.6 }, { "x": 85, "y": -34.4 }, { "x": 86, "y": -34.6 }, { "x": 87, "y": -34.9 }, { "x": 96, "y": -36.7 }, { "x": 97, "y": -36.9 }, { "x": 100, "y": -37.5 } ] } ], "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" }, { "type": "y", "scale": "y" } ], "marks": [ { "type": "line", "from": { "data": "table" }, "properties": { "enter": { "x": { "scale": "x", "field": "x" }, "y": { "scale": "y", "field": "y" }, "interpolate": { "value": "monotone" }, "stroke": { "value": "steelblue" }, "strokeWidth": { "value": 3 } } } } ] }</graph>