Closed davelab6 closed 6 years ago
Following #19, port the python to js and use the source sheet's CSV URL (https://docs.google.com/spreadsheets/d/e/2PACX-1vRl0zD7-mCywXYoFXbW55hdGqNY0XxPFUZAfuD6OJDfYPM5eBaQWc3wpQi1RdBQmoCgoWT3OX7iZXXu/pub?output=csv) to show it on the page live.
Here's an example using d3.js, but jQuery could also do it easily I think:
https://jsbin.com/zufusus/
Here’s the source:
https://jsbin.com/zufusus/edit
I guess ideally we’d set use a google appscript to serve the data from google sheets as jsonp (https://developers.google.com/apps-script/guides/content#serving_jsonp_in_web_pages) - but CSV is good enough to start
jsonp
Fixed in https://github.com/TypeNetwork/Opentype-1.8-Axis-Proposal/commit/5a51f1ca5ccb36a6a36622583caf1a51566f2c55 - thanks @asaumierdemers :)
Following #19, port the python to js and use the source sheet's CSV URL (https://docs.google.com/spreadsheets/d/e/2PACX-1vRl0zD7-mCywXYoFXbW55hdGqNY0XxPFUZAfuD6OJDfYPM5eBaQWc3wpQi1RdBQmoCgoWT3OX7iZXXu/pub?output=csv) to show it on the page live.
Here's an example using d3.js, but jQuery could also do it easily I think:
https://jsbin.com/zufusus/
Here’s the source:
https://jsbin.com/zufusus/edit
I guess ideally we’d set use a google appscript to serve the data from google sheets as
jsonp
(https://developers.google.com/apps-script/guides/content#serving_jsonp_in_web_pages) - but CSV is good enough to start