Template:Sparkline

{  "version": 2, "width": 100, "height": 25, "data": [ { "name": "data", "values": [        { "measure": "line", "time":, "value":  } , { "measure": "line", "time":, "value": } ]  } ],   "scales": [ {     "name": "x", "type": "time", "range": "width", "domain": {"data": "data", "field": "time"} },  {      "name": "y", "type": "linear", "range": "height", "nice": true, "domain": {"data": "data", "field": "value"} },   {      "name": "color", "type": "ordinal", "domain": {"data": "data", "field": "measure"}, "range": "category10" } ],  "marks": [ {     "type": "group", "from": { "data": "data", "transform": [{"type": "facet", "groupby": ["measure"]}] },     "marks": [ {         "type": "line", "properties": { "enter": { "x": {"scale": "x", "field": "time"}, "y": {"scale": "y", "field": "value"}, "stroke": {"value": "grey"}, "strokeWidth": {"value": 2} }         }        },        {          "type": "text", "properties": { "enter": { "x": {"scale": "x", "field": "time", "offset": 2}, "y": {"scale": "y", "field": "value"}, "baseline": {"value": "middle"} }         }        }      ]    }  ] }  {	"params": { "x1": { "description": "Time value for one of the points, as a Unix timestamp", "example": "1446336000", "type": "number", "required": true },		"y1": { "description": "Y value at the corresponding time", "example": "35", "type": "number", "required": true },		"x2": { "inherits": "x1" }, "y2": { "inherits": "y1" }, "x3": { "description": "Time value for one of the points, as a Unix timestamp", "example": "1446336000", "type": "number", "required": false, "suggested": true },		"y3": { "description": "Y value at the corresponding time", "example": "35", "type": "number", "required": false, "suggested": true },		"x4": { "inherits": "x3" }, "y4": { "inherits": "y3" }, "x5": { "inherits": "x3" }, "y5": { "inherits": "y3" }, "x6": { "inherits": "x3" }, "y6": { "inherits": "y3" }, "x7": { "inherits": "x3" }, "y7": { "inherits": "y3" }, "x8": { "inherits": "x3" }, "y8": { "inherits": "y3" }, "x9": { "inherits": "x3" }, "y9": { "inherits": "y3" }, "x10": { "inherits": "x3" }, "y10": { "inherits": "y3" }, "x11": { "inherits": "x3" }, "y11": { "inherits": "y3" }, "x12": { "inherits": "x3" }, "y12": { "inherits": "y3" }, "x13": { "inherits": "x3" }, "y13": { "inherits": "y3" }, "x14": { "inherits": "x3" }, "y14": { "inherits": "y3" }, "x15": { "inherits": "x3" }, "y15": { "inherits": "y3" }, "x16": { "inherits": "x3" }, "y16": { "inherits": "y3" }, "x17": { "inherits": "x3" }, "y17": { "inherits": "y3" }, "x18": { "inherits": "x3" }, "y18": { "inherits": "y3" }, "x19": { "inherits": "x3" }, "y19": { "inherits": "y3" }, "x20": { "inherits": "x3" }, "y20": { "inherits": "y3" }, "x21": { "inherits": "x3" }, "y21": { "inherits": "y3" }, "x22": { "inherits": "x3" }, "y22": { "inherits": "y3" }, "x23": { "inherits": "x3" }, "y23": { "inherits": "y3" }, "x24": { "inherits": "x3" }, "y24": { "inherits": "y3" } },	"description": "Create a sparkline graph of at least 2 and up to 24 values; x values should be Unix epoch timestamps, y values should be numbers. Values can be in any order.", "format": "inline" }