-powerAug2019 = d3.json("https://gist.githubusercontent.com/gganapat/5f92acc8283e703e34421ac334ecbca4/raw/91b9e6317b5755a943743bab5fe2237eb8765837/powerAug2019")+powerAug2019 = d3.json("https://gist.githubusercontent.com/gganapat/5f92acc8283e703e34421ac334ecbca4/raw/91b9e6317b5755a943743bab5fe2237eb8765837/powerAug2019").then(powerAug2019 => { convert(powerAug2019.series.values.dateValue); return powerAug2019; })
+objects[2300].value //convert text to number
objects.value
convert(objects)
objects[2000].date
viewof view = embed({ $schema: 'https://vega.github.io/schema/vega-lite/v3.json', width: 360,-data: objects,+data: {values: objects},mark: 'line', encoding: { x: {field: 'date', type: 'temporal'}, y: {field: 'value', type: 'quantitative'}, // tooltip: {field: 'value', type: 'quantitative'}, }, } )