- 02:53:27 @jhkersting @Polit_eurOpines Election Graphs keeps poll data in text files, then uses php (and some shell script) to preprocess some things; then php, JavaScript, and Highcharts to actually show the webpages. The code is really very messy, but happy to share samples if it would be helpful. Feel free to DM. in reply to jhkersting
- 02:57:29 @jhkersting @Polit_eurOpines In 2008 & 2012 I did @ElectionGraphs using a wiki, Excel, and screenshots of Excel graphs, plus posting commentary on my personal blog. So I feel the Excel pain. For 2016 I decided I had to automate for my own sanity. I’m in the process of adding more stuff for 2020 of course. <symbol> in reply to ElecCollPolls
- 03:10:49 @Polit_eurOpines @jhkersting @ElectionGraphs You can see one of the text (csv) files that powers @ElectionGraphs here: https://t.co/87p5MNyQAO – The php on the site reads that (and a couple others) and generates the various web pages and graphs. in reply to Polit_eurOpines
- 03:20:12 @Polit_eurOpines @jhkersting @ElectionGraphs I was more familiar with PHP than JS when I started (still am). Had to learn a lot of JS to drive the HighCharts though. So all the math and HTML generation is PHP plus some scattered unix shell stuff, but JavaScript drives the charts. in reply to Polit_eurOpines
Leave a Reply
You must be logged in to post a comment.