&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},{"type":"linear","name":"y","domain":{"data":"chart","field":"y"},"zero":true,"range":"height","nice":true},{"domain":{"data":"chart","field":"series"},"type":"ordinal","name":"color","range":["#ff6347"]}],"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":-2,"field":"y"},"dy":{"scale":"x","mult":0.5,"band":true},"x":{"scale":"x","field":"x"},"angle":{"value":-90},"fontSize":{"value":11},"fill":{"value":"black"}}},"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":-40},"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":1,"series":"New confirmed cases","x":"26 Feb"},{"y":0,"series":"New confirmed cases","x":"27 Feb"},{"y":2,"series":"New confirmed cases","x":"28 Feb"},{"y":0,"series":"New confirmed cases","x":"29 Feb"},{"y":0,"series":"New confirmed cases","x":"1 Mar"},{"y":0,"series":"New confirmed cases","x":"2 Mar"},{"y":1,"series":"New confirmed cases","x":"3 Mar"},{"y":2,"series":"New confirmed cases","x":"4 Mar"},{"y":0,"series":"New confirmed cases","x":"5 Mar"},{"y":3,"series":"New confirmed cases","x":"6 Mar"},{"y":4,"series":"New confirmed cases","x":"7 Mar"},{"y":2,"series":"New confirmed cases","x":"8 Mar"},{"y":2,"series":"New confirmed cases","x":"9 Mar"},{"y":12,"series":"New confirmed cases","x":"10 Mar"},{"y":18,"series":"New confirmed cases","x":"11 Mar"},{"y":12,"series":"New confirmed cases","x":"12 Mar"},{"y":36,"series":"New confirmed cases","x":"13 Mar"},{"y":28,"series":"New confirmed cases","x":"14 Mar"},{"y":16,"series":"New confirmed cases","x":"15 Mar"},{"y":29,"series":"New confirmed cases","x":"16 Mar"},{"y":49,"series":"New confirmed cases","x":"17 Mar"},{"y":43,"series":"New confirmed cases","x":"18 Mar"},{"y":17,"series":"New confirmed cases","x":"19 Mar"},{"y":31,"series":"New confirmed cases","x":"20 Mar"},{"y":59,"series":"New confirmed cases","x":"21 Mar"},{"y":66,"series":"New confirmed cases","x":"22 Mar"},{"y":143,"series":"New confirmed cases","x":"23 Mar"},{"y":186,"series":"New confirmed cases","x":"24 Mar"},{"y":144,"series":"New confirmed cases","x":"25 Mar"},{"y":123,"series":"New confirmed cases","x":"26 Mar"},{"y":263,"series":"New confirmed cases","x":"27 Mar"},{"y":160,"series":"New confirmed cases","x":"28 Mar"},{"y":363,"series":"New confirmed cases","x":"29 Mar"}]}],"width":800}&lt;/graph&gt;