A treemap is used to display the hierarchy of Federal Government ministries and departments. The size and colour of the rectangles encode the number of staff (2013/14 or 2014/15) and the change in staffing levels (absolute or percentage), respectively.
Source data comes from Budget Paper 4 Table 2.2 Average Staffing Table.
The treemap was implemented using D3.js, and borrowed heavily from a couple of excellent examples:
The source-code is available on Github and is licensed under a Creative Commons Attribution 4.0 International License.
For more information see this Vislives! blog post.
- add a colour legend
- auto-range the colour scales