The graph is a force-directed graph. A preferred distance between nodes is set using the preferences of political party for parties other than itself from one in ascending order.

Programming tools

The source code for this site is available for you to experiment with at http://bitbucket.org/ConcreteGannet/auprefs.info.

The code uses the (amazing) d3 JavaScript library to create the graph. Other examples of the possibilities of d3 can be found at https://github.com/mbostock/d3/wiki/Gallery and http://christopheviau.com/d3list/gallery.html.