An open API service indexing awesome lists of open source software.

https://github.com/lukeprior/interactive-election-graph

Interactive opinion polling graphs for the 2022 Australian Federal Election.
https://github.com/lukeprior/interactive-election-graph

Last synced: about 1 year ago
JSON representation

Interactive opinion polling graphs for the 2022 Australian Federal Election.

Awesome Lists containing this project

README

          

# Interactive Election Graphs

This repository contains the code to generate opinion polling graphs for the 2022 Australian Federal Election.

The data is collected from [Wikipedia](https://en.wikipedia.org/wiki/Opinion_polling_for_the_2022_Australian_federal_election) using the [wikitable-api](https://github.com/atye/wikitable-api). The graph is then generated using [graphique](https://github.com/graphiquejs/graphique) which was chosen for it's ability to display LOESS regression lines.

[![image](https://user-images.githubusercontent.com/22492406/163928534-93f4562b-d4e9-440e-9e6a-0cf909f6669b.png)](https://9ililq.csb.app/)

[![image](https://user-images.githubusercontent.com/22492406/163935826-6ad15933-adf7-49f8-86c0-889161216047.png)](https://9ililq.csb.app/)

[![image](https://user-images.githubusercontent.com/22492406/163941606-8cf84034-0de8-4fc1-aebc-109bb16f98d5.png)](https://9ililq.csb.app/)

[![CodeSandbox](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/9ililq?file=/src/App.tsx)