&lt;graph&gt;{"legends":[{"properties":{"title":{"fill":{"value":"#54595d"}},"labels":{"fill":{"value":"#54595d"}}},"stroke":"color","title":"Legend","fill":"color"}],"scales":[{"type":"ordinal","name":"x","zero":false,"domain":{"data":"chart","field":"x"},"padding":0.2,"range":"width","nice":true},{"clamp":true,"type":"linear","name":"y","domain":{"data":"chart","field":"y"},"domainMin":1,"zero":true,"range":"height","nice":true},{"domain":{"data":"chart","field":"series"},"type":"ordinal","name":"color","range":["#f46d43"]}],"version":2,"marks":[{"type":"rect","properties":{"hover":{"fill":{"value":"red"}},"update":{"fill":{"scale":"color","field":"series"}},"enter":{"y":{"scale":"y","field":"y"},"x":{"scale":"x","field":"x"},"y2":{"scale":"y","value":0},"width":{"scale":"x","offset":-1,"band":true},"fill":{"scale":"color","field":"series"}}},"from":{"data":"chart"}},{"type":"text","properties":{"enter":{"baseline":{"value":"middle"},"align":{"value":"left"},"text":{"field":"y"},"y":{"scale":"y","offset":-1,"field":"y"},"dy":{"scale":"x","mult":0.5,"band":true},"x":{"scale":"x","field":"x"},"angle":{"value":-90},"fontSize":{"value":11},"fill":{"value":"#54595d"}}},"from":{"data":"chart"}}],"height":200,"axes":[{"type":"x","title":"Date","scale":"x","properties":{"title":{"fill":{"value":"#54595d"}},"grid":{"stroke":{"value":"#54595d"}},"ticks":{"stroke":{"value":"#54595d"}},"axis":{"strokeWidth":{"value":2},"stroke":{"value":"#54595d"}},"labels":{"align":{"value":"right"},"angle":{"value":-90},"fill":{"value":"#54595d"}}},"grid":true},{"type":"y","title":"No. of new cases","scale":"y","format":"d","properties":{"title":{"fill":{"value":"#54595d"}},"grid":{"stroke":{"value":"#54595d"}},"ticks":{"stroke":{"value":"#54595d"}},"axis":{"strokeWidth":{"value":2},"stroke":{"value":"#54595d"}},"labels":{"fill":{"value":"#54595d"}}},"grid":true}],"data":[{"format":{"parse":{"y":"integer","x":"string"},"type":"json"},"name":"chart","values":[{"y":0,"series":"New cases per day","x":"Feb 26"},{"y":0,"series":"New cases per day","x":"Feb 27"},{"y":0,"series":"New cases per day","x":"Feb 28"},{"y":0,"series":"New cases per day","x":"Feb 29"},{"y":0,"series":"New cases per day","x":"Mar 1"},{"y":0,"series":"New cases per day","x":"Mar 2"},{"y":0,"series":"New cases per day","x":"Mar 3"},{"y":0,"series":"New cases per day","x":"Mar 4"},{"y":0,"series":"New cases per day","x":"Mar 5"},{"y":3,"series":"New cases per day","x":"Mar 6"},{"y":0,"series":"New cases per day","x":"Mar 7"},{"y":5,"series":"New cases per day","x":"Mar 8"},{"y":0,"series":"New cases per day","x":"Mar 9"},{"y":10,"series":"New cases per day","x":"Mar 10"},{"y":0,"series":"New cases per day","x":"Mar 11"},{"y":1,"series":"New cases per day","x":"Mar 12"},{"y":0,"series":"New cases per day","x":"Mar 13"},{"y":0,"series":"New cases per day","x":"Mar 14"},{"y":9,"series":"New cases per day","x":"Mar 15"},{"y":4,"series":"New cases per day","x":"Mar 16"},{"y":9,"series":"New cases per day","x":"Mar 17"},{"y":3,"series":"New cases per day","x":"Mar 18"},{"y":16,"series":"New cases per day","x":"Mar 19"},{"y":19,"series":"New cases per day","x":"Mar 20"},{"y":22,"series":"New cases per day","x":"Mar 21"},{"y":14,"series":"New cases per day","x":"Mar 22"},{"y":17,"series":"New cases per day","x":"Mar 23"},{"y":64,"series":"New cases per day","x":"Mar 24"},{"y":87,"series":"New cases per day","x":"Mar 25"},{"y":80,"series":"New cases per day","x":"Mar 26"},{"y":113,"series":"New cases per day","x":"Mar 27"},{"y":137,"series":"New cases per day","x":"Mar 28"},{"y":121,"series":"New cases per day","x":"Mar 29"},{"y":90,"series":"New cases per day","x":"Mar 30"},{"y":113,"series":"New cases per day","x":"Mar 31"},{"y":119,"series":"New cases per day","x":"Apr 1"},{"y":176,"series":"New cases per day","x":"Apr 2"},{"y":133,"series":"New cases per day","x":"Apr 3"},{"y":252,"series":"New cases per day","x":"Apr 4"},{"y":259,"series":"New cases per day","x":"Apr 5"},{"y":158,"series":"New cases per day","x":"Apr 6"},{"y":252,"series":"New cases per day","x":"Apr 7"},{"y":215,"series":"New cases per day","x":"Apr 8"},{"y":310,"series":"New cases per day","x":"Apr 9"},{"y":326,"series":"New cases per day","x":"Apr 10"},{"y":538,"series":"New cases per day","x":"Apr 11"},{"y":240,"series":"New cases per day","x":"Apr 12"},{"y":170,"series":"New cases per day","x":"Apr 13"},{"y":200,"series":"New cases per day","x":"Apr 14"},{"y":242,"series":"New cases per day","x":"Apr 15"},{"y":235,"series":"New cases per day","x":"Apr 16"},{"y":333,"series":"New cases per day","x":"Apr 17"},{"y":304,"series":"New cases per day","x":"Apr 18"},{"y":116,"series":"New cases per day","x":"Apr 19"},{"y":233,"series":"New cases per day","x":"Apr 20"},{"y":261,"series":"New cases per day","x":"Apr 21"},{"y":550,"series":"New cases per day","x":"Apr 22"},{"y":398,"series":"New cases per day","x":"Apr 23"},{"y":659,"series":"New cases per day","x":"Apr 24"},{"y":293,"series":"New cases per day","x":"Apr 25"},{"y":249,"series":"New cases per day","x":"Apr 26"},{"y":262,"series":"New cases per day","x":"Apr 27"},{"y":192,"series":"New cases per day","x":"Apr 28"},{"y":442,"series":"New cases per day","x":"Apr 29"},{"y":216,"series":"New cases per day","x":"Apr 30"},{"y":319,"series":"New cases per day","x":"May 1"},{"y":204,"series":"New cases per day","x":"May 2"},{"y":135,"series":"New cases per day","x":"May 3"},{"y":148,"series":"New cases per day","x":"May 4"},{"y":164,"series":"New cases per day","x":"May 5"}]}],"width":700}&lt;/graph&gt;