User:Niki1975/sandbox

{	"version": 2, "width": 400, "height": 200, "data": [ {			"name": "table", "values": [ {					"x": 1790, "y": 4495 },				{					"x": 1800, "y": 5740 },				{					"x": 1810, "y": 8303 },				{					"x": 1820, "y": 11187 },				{					"x": 1830, "y": 20535 },				{					"x": 1840, "y": 47613 },				{					"x": 1850, "y": 138882 },				{					"x": 1860, "y": 279122 },				{					"x": 1870, "y": 419921 },				{					"x": 1880, "y": 599495 },				{					"x": 1890, "y": 838547 }			]		}	],	"scales": [ {			"name": "x", "type": "ordinal", "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": "rect", "from": { "data": "table" },			"properties": { "enter": { "x": { "scale": "x", "field": "x" },					"y": { "scale": "y", "field": "y" },					"y2": { "scale": "y", "value": 0 },					"fill": { "value": "steelblue" },					"width": { "scale": "x", "band": true, "offset": -1 }				}			}		}	] }