Refuse Derived Fuel: Difference between revisions

Arctellion (talk | contribs)
changed graph
Arctellion (talk | contribs)
Line 6: Line 6:
{|class="wikitable" style="text-align:center;"
{|class="wikitable" style="text-align:center;"
|-
|-
| colspan="4" | [[File:Lagyr.png|700px|center|Graph showing lagged year on year data]]
| colspan="4" | <graph>{
  "width": 500,
  "height": 500,
  "data": [
    {
      "name": "table",
      "values": [
        {"x": 2012,  "y": 758521}, {"x": 2013,  "y": 953391},
        {"x": 2014,  "y": 698508}, {"x": 2015,  "y": 549765},
        {"x": 2016,  "y": 319223}, {"x": 2017,  "y": -70195},
        {"x": 2018,  "y": -237952}, {"x": 2019,  "y": -1214477}
      ]
    }
  ],
  "scales": [
    {
      "name": "x",
      "type": "ordinal",
      "range": "width",
      "domain": {"data": "table", "field": "x"}
    },
    {
      "name": "y",
      "type": "linear",
      "range": "height",
      "domain": {"data": "table", "field": "y"},
      "nice": true
    }
  ],
  "axes": [
    {"type": "x", "scale": "x"},
    {"type": "y", "scale": "y"}
  ],
  "marks": [
    {
      "type": "rect",
      "from": {"data": "table"},
      "properties": {
        "enter": {
          "x": {"scale": "x", "field": "x"},
          "width": {"scale": "x", "band": true, "offset": -1},
          "y": {"scale": "y", "field": "y"},
          "y2": {"scale": "y", "value": 0}
        },
        "update": {
          "fill": {"value": "steelblue"}
        }
      }
    }
  ]
}</graph>
|-
|-
! colspan="4" | Data Table
! colspan="4" | Data Table