&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":["#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":"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":4,"series":"New cases per day","x":"6 Mar"},{"y":9,"series":"New cases per day","x":"7 Mar"},{"y":13,"series":"New cases per day","x":"8 Mar"},{"y":10,"series":"New cases per day","x":"9 Mar"},{"y":30,"series":"New cases per day","x":"10 Mar"},{"y":13,"series":"New cases per day","x":"11 Mar"},{"y":32,"series":"New cases per day","x":"12 Mar"},{"y":31,"series":"New cases per day","x":"13 Mar"},{"y":146,"series":"New cases per day","x":"14 Mar"},{"y":94,"series":"New cases per day","x":"15 Mar"},{"y":73,"series":"New cases per day","x":"16 Mar"},{"y":141,"series":"New cases per day","x":"17 Mar"},{"y":332,"series":"New cases per day","x":"18 Mar"},{"y":268,"series":"New cases per day","x":"19 Mar"},{"y":367,"series":"New cases per day","x":"20 Mar"},{"y":377,"series":"New cases per day","x":"21 Mar"},{"y":224,"series":"New cases per day","x":"22 Mar"},{"y":244,"series":"New cases per day","x":"23 Mar"},{"y":439,"series":"New cases per day","x":"24 Mar"},{"y":375,"series":"New cases per day","x":"25 Mar"},{"y":672,"series":"New cases per day","x":"26 Mar"},{"y":718,"series":"New cases per day","x":"27 Mar"},{"y":662,"series":"New cases per day","x":"28 Mar"},{"y":658,"series":"New cases per day","x":"29 Mar"},{"y":564,"series":"New cases per day","x":"30 Mar"},{"y":600,"series":"New cases per day","x":"31 Mar"},{"y":1220,"series":"New cases per day","x":"1 Apr"}]}],"width":850}&lt;/graph&gt;