acb's technical journal


Coding the Australian senate preference visualisation

In the run-up to the recent Australian federal election, a record number of candidates lodged preference tickets for the Senate; to help untangle the preferences, I decided to grab the data, analyse it and write an interactive web-based visualisation, using Python to obtain and process the data and the D3 JavaScript library to code the visualisaton. Here are some more details of how I did this.


d3 data visualisation javascript python 0