Tuesday, 27 September 2011

The New ONS Website

Not all that long ago, the Office for National Statistics unveiled their new website which, in my view, is significantly better than the old one (screenshot of the new site below). There have been some teething problems but I just wanted to highlight some of the interactive data features.


There's a box to the right of the home page which says 'Interactive Content' and if you click on it you will be taken to a page full of more interesting visualisations of ONS data. There's a map and data visualisation using unemployment benefit claimants plus lots more.


On the population page, you can also see up to date snapshots for the UK, including the up to date total population (currently estimated to be 62.3 million). The site is not yet perfect but is definitely worth a closer look.

Sunday, 18 September 2011

Energy Consumption in London

Gas price rises have been in the news quite a lot in recent months, and with good reason. Clearly, it's a big issue in many ways so I've been trying to explore more about it from a data point of view. This is where the Department of Energy and Climate Change come in, because they now provide quite localised energy consumption data for the whole of Great Britain. There's quite a lot of it and it can be a bit messy and difficult to understand but if you want to find out more the full explanatory pdf is here. From my point of view, I was interested to see how it looked spatially, so I took the domestic gas consumption data for London in 2008 and 2009 and mapped it at the small area level. I've done a full screen map which you can see by clicking on this link but you can also see it embedded below, though it works best full screen. Click an area on the map to see consumption data for that area and a key which explains the colour coding. 


Click here to see the full screen version

Finally, a simple dot map of where most domestic gas is used in London. This reflects a number of things, not least the size of properties, but perhaps also things like poverty and deprivation... The final thing to say is that the highest gas consumption areas consume about 41,000 kWh per year and the lowest areas less than 10,000. The London average is about 15,000 kWh.



Thursday, 8 September 2011

Comparing Populations: China, US, Europe

Since the US and China have both recently (2010) conducted a census I thought it would be interesting to look at some of the population results. Given the vastness of the US and China, I thought I'd do a little experiment and compare Chinese province populations with US states and European countries. I've put this data into a spreadsheet as well and also produced a map graphic comparing various areas. The purpose here is to highlight the large populations of so many Chinese provinces.


Some interesting nuggets from the data...
  • Guangdong province in China now has a population of 104 million, which is more than any European nation except Russia (141 million). The European part of Russia has 110 million. 
  • Poland, Shanxi province and California all have around 37 million people. 
  • Shanghai has 22 million compared to Romania at 23 million. 
  • Beijing and New York state both have about 19.5 million people. 
  • In total, ten Chinese provinces have a population of 50 million or more. The US and China have a very similar land area. 
  • Be honest, did you know that Anhui province has about the same population as Italy (60 million)?
Finally, some non-Chinese comparisons. Greece and Ohio both have a population of about 11.5 million and Michigan and Belarus are similar at about 9.5 million. Wisconsin and Denmark both have about 5.7 million people, and Finland and Minnesota have about 5.4 million. At the lower end of the scale, North Dakota and Montenegro both have about 670,000 people.

Friday, 2 September 2011

Divided Cities?

There has been a lot of talk recently about the links between deprivation and the recent riots in England (e.g. this from the Guardian), and since I'm interested in the issue I thought I would do some very basic analysis to look at the spatial divisions of deprivation in English cities. To do this I took London, the eight core cities plus Bradford, Coventry, Hull and Leicester and mapped the 10% most (in red) and 10% least (in blue) deprived (IMD 2010) areas on one large map graphic. The results are shown below - click the image to enlarge.


Some interesting comparisons can be made from this image. In Hull, Leicester, Manchester and Nottingham there are no areas amongst England's 10% most deprived and in Liverpool there is only one. In Sheffield there is a clear NE/SW split in terms of the location of the most and least deprived and in Manchester, Birmingham and Liverpool the number of areas in the most deprived 10% is quite high.

Not much else to say now except that I think in studies of deprivation we should perhaps be more concerned with inequalities and how they manifest themselves spatially.

Monday, 22 August 2011

Housing Stock in England

A short while ago I had reason to look into data on housing stock in England at the local authority level. I didn't do much with this but did produce a map and a little bit of preliminary analysis so I thought I'd share it here. The data are from the Department for Communities and Local Government's Live Tables and in particular the series on housing stock for 2010. First of all, a map showing the percentage of housing stock in each local authority that is owned by a housing association.



There is so much you can say about the meaning of this kind of data - related to policy, local political context and so on - but just some numbers for now. The local authority with the highest % of stock owned by housing associations is Tower Hamlets, at 29.0% - other high areas are Knowsley (28.6%), Sunderland (28.0), Liverpool (28.0%), Halton (25.6%), Middlesbrough (25.5%) and Manchester (24.7%). So, London, the North West and the North East have the highest values. At the other end of the scale, Castle Point in Essex has only 1.3% of its stock owned by housing associations.

Some other numbers... The area with the highest percentage of housing owned by the local authority is Southwark, at 34.1% but this is something of an outlier as the next highest is Harlow at 28.1%. At the opposite end of the scale, many areas have no stock in local authority hands, given the trend for stock transfer over recent decades. What about % private vs. % housing association + local authority owned? Well, in Castle point, 94.6% of the housing stock is in private hands and 93.0% in Medway in Kent. The lowest private % figures are in London, with Southwark (53.1%), Hackney (54.0%), Islington (56.5%), Tower Hamlets (57.8%) and Lambeth (62.4%) occupying the top five spots. Total dwelling stock in England is 22.7m.

One further thing... I obtained a detailed list of housing associations in England from the Tenant Services Authority so I produced a fusion table map of it. Individual points on the map are clickable. Click here for the full size version.




Tuesday, 16 August 2011

Info Windows for Google Maps (from Fusion Tables)

A slightly boring technical post today because from time to time people get in touch to ask technical questions. So, I thought I'd just share a bit of my (limited) knowledge on controlling what appears in a google map info window when you click a map layer using Fusion Tables. Most of this probably applies to non-Fusion Table maps as well. Here's what I'm talking about...


Link directly to this page here.

As you can see from the screenshot above, this info window has a chart (drawn from the Fusion Table which is mapped) an image (a map key) and some text, which also pulls out unique data for each area on the map when you click on it. Since Fusion Tables are relatively new, there isn't an awful lot of information out there on how to do this (at least not info that simpletons like me can understand) so I spent quite a bit of time experimenting with the code behind the info windows. There is some useful information on this page and the pages it links to but when you have your own dataset it can be a bit difficult to grasp.

Not much else to say except that I've copied an image below which shows the code and the info window side by side. If you click on the image it should take you to a PowerPoint file which you can then use to copy the code if you wish. I'm certainly no expert but someone may find this useful!



Thursday, 11 August 2011

Comparing Deprivation in the English Core Cities

The eight English core cities outside London often work together on issues that affect them. One thing I've been looking at recently on some work in Sheffield is how the core cities compare in terms of patterns of deprivation. So, I've mapped and compared them below. Red areas are amongst the 10% most deprived in England and the darkest blue areas are amongst the 10% least deprived in England. The maps are at different scales but the point here is just to provide a quick visual comparison of cities in this map matrix view.