Australian States coloured by Awesomeness
This was one of my first d3 experiments. I wanted to see a d3 map showing something other than the USA, which meant that I needed to work out how to generate GeoJSON files 1 and get my head around the projection mechanisms in d3. It also gave me an opportunity to play with colour scales.
If you want to see the numbering used in the colour scale, and my rationale for declaring NSW as the best state and QLD as the worst, see the source!
Github has the original (unembedded) html file
I made the GeoJSON file by converting ESRI Shapefiles from the 2006 Australian Census using the QGIS program. I used the simplify geometries function within that program, with a tolerance of 0.005, to reduce the detail to a suitable level for the web. Github has the data files
Please let me know of a source of Australian maps in geojson format, if you’re aware of one ↩