Different Ways of Winning

In a previous post, we looked at voting patterns in one constituency in UP – Muzaffarnagar – which, in 2013, saw serious communal riots. The hypothesis was that the riots would polarise voting across the area. To see if this was true, we looked at the vote share of the biggest party (i.e. the one scoring the most votes) in each polling booth. What was apparent was that many,many booths across the constituency essentially turned into winner-take-all contests. In these booths, the largest party ended up with a very high vote share – often in excess of 90%. Whole villages or areas under a single booth chose to vote sharply one way or the other. This was in contrast to 2009, where the average booth saw a much more diverse pattern of voting behaviour.

The map below essentially extends that analysis to the whole of UP. The darker areas saw more polarised voting, and the lighter areas saw less. What we see is a sharp difference between Western UP (where Muzaffarnagar is located), and the rest of the state. Voting in both central and Eastern UP was far less polarised than it was in the West. The white spaces on the map are those for which the data could not be compiled.

This map needs some explanation of how it was constructed, so here goes.

There are over 1.3 lakh data points underlying this map – one for each booth (but with gaps). I could have plotted each point on the map, coloured by the vote share of the largest party. This would have been overkill simply because multiple booths are located at one point (thus overlapping each other on a map). The problem was to aggregate data for booths in the same locality but without aggregating so much as to lose some of the complexity of voting patterns, even within a single constituency.

The technique I used (explained in much greater detail here), was to overlay the map with a number of cells. These are the tiny hexagons you see on the map – just zoom in and they will be more visible. Each of these cells is exactly the same area. I look at the polling booths which fall within the bounds of each cell, and take the median of the vote shares of the largest parties in just those booths. Then we color the cell according to that median value – darker red for higher vote shares and lighter colors for lower vote shares. The grey lines are the actual boundaries of each of the 80 parliamentary constituencies in the state.

The white areas you see on the map are those for which either the locations of polling booths werent available or for which data did not exist. You’ll also notice a number of points which fall outside the boundaries of the state – these are obviously incorrectly located, but I left them in anyway. This post owes a huge debt to Raphael Susewind who actually put the polling booth location data together and cleaned it up.

A couple of broader points :

* There are a couple of outliers in this map. The darker area in central UP is Rae Bareli, the stronghold of the Gandhi family. The lighter coloured area in Western UP is Sambhal, which saw distinctively lower polarised voting than other constituencies in the region. Then there are constituencies like Ghaziabad (to the left of Sambhal on the UP border) which saw both types of voting behaviour – some areas saw a pattern of sharply polarised voting, but other parts of the constituency didn’t.

*The BJP won 71 of 80 seats in UP. It emerged strong across the state, irrespective of geographic location. What this map shows (and this is true of political parties in general I think), is that it had many different ways of winning. In context of an immediate election outcome this may not matter much (winning is winning, after all). But for journalists and researchers, exploring this idea of how a party won in different areas is, it seems to me, an idea very much worth exploring analytically and empirically.

For those already tired of UP election data, and election analysis in general, my apologies. But I may do just one more piece on this idea of ‘ways of winning’.

Here’s a version of the map which is also (a bit more) interactive. Caution : clicking on this, loads a 7 MB csv file, so you have been warned. It may take a minute or two to render, especially on a slow machine and/or internet connection. Mouse over a constituency to see details for that constituency. Unfortunately it’s also this part which is a bit buggy. Sometimes, the mouse over works, and sometimes it doesn’t, for some reason. I am trying to fix it.


Maps rendered using D3, with colors from colorbrewer.

Here’s What a Polarized Vote Looks Like

Before and during the election campaign, one constituency which got a lot of attention was Muzaffarnagar constituency in Uttar Pradesh, the scene of serious communal riots in 2013. Those riots were seen as a ploy by political parties to polarize the vote between Hindus and Muslims. In the event, the BJP won comfortably, by a substantial margin of over 400,000 votes, which translated into a winning margin of 36%. In contrast, in the 2009 election, the BSP candidate who won the seat, did so narrowly – by a margin of just 2.7%.

The chart below shows what that change means in a visual sense. It looks at the vote share of the biggest party in each of the 1500 or so polling stations in the constituency, and then plots those values according to how often they occur. So for instance, there were a relatively few polling stations where the largest party got 40% of the vote or below. There were many more with 60% or more of the vote in a booth. And so on. The number of polling stations where the largest party received any given vote share (from 0 to 1), can be read off the y-axis.

What’s the point here? What I’m trying to show is that in the aftermath of the riots, there were many booths (far more so than in 2009) which essentially seem to have turned into ‘winner-take-all’ contests. Whole villages or areas under a single booth chose to vote sharply one way or the other. Note for instance, that the ‘peak’ of the chart is hit around the high 90% mark i.e. there were close to 200 booths where pretty much every single voter decided to vote for just one party*. In contrast, the 2009 election was much more sharply contested. Here the peak is hit at the less than 50% vote share mark. In most booths in 2009 in the constituency, there was a fair amount of diversity in voting.

In contrast, in 2014, around 30% of booths in the constituency saw the top party receiving 90% or more of the vote.

Another point of comparison is the distribution of vote shares of the largest party for all booths in Uttar Pradesh in 2014. Here it is:

You’ll notice that this distribution is much more ‘conventional’, even given the remarkable scale of the BJP victory (71 seats out of 80) in Uttar Pradesh.

In another post, I may look at another constituency in UP, which had a similarly interesting pattern of voting even though it was not directly affected by the scale of communal violence seen in Muzaffarnagar.

One problem with the analysis above is that I only look at Muzaffarnagar constituency, whereas of course, the violence would have affected voting patterns in other parts of western UP.


*Incidentally, one of the Election Commission’s criteria for classifying a polling booth as ‘sensitive’ (i.e. a booth where extra security measures will be needed etc) is one which gives more than 75% of votes for a single candidate in the previous election. By this criterion alone, a large chunk of Muzaffarnagar’s booths will be classified as ‘sensitive’ in the next election.

In the chart, it seems as if there are some polling stations where the largest party has received a greater than 100% vote share, which is obviously incorrect. The problem is not with the data but with the way the labels are displayed on the x-axis.

Booth-wise data from the dataset compiled by Raphael Susewind from the official Uttar Pradesh data. Many thanks to him! Here’s his website.

Charts made with R/ggplot2.

Mapping Access to Toilets between Social Groups

A while back, I had done a toilet map of India. That map didn’t cover the critically important issue of how access to a toilet at home differs across social groups. In context of the recent horrific crime in UP, when two young dalit girls stepped out of their house to relieve themselves and were raped and hanged, I thought I would update that map to look at access to such facilities between disadvantaged social groups such as dalits and tribals on the one hand, and non-dalit / non-tribal households on the other.

The map below reflects that difference in access across districts. For each district, I calculated the percentage of dalit/tribal households with access to a toilet at home. I did the same calculation for households which were neither dalit nor tribal, as classified by the census. By dividing the two, we get a measure of how disparate the access is. For instance, in the district of Budaun, where the crime occurred, 15% of dalit homes according to the 2011 census, had access to a toilet at home, compared with 35% of non-dalit or non-tribal homes. This gives me a disparity measure of about 0.43 (15% divided by 35%). And so on for each district.

A measure close to one, or above it, means that both sets of households are equally well-off – or equally badly-off depending on the state. The same calculation was done for tribal households. Click anywhere on the map to switch between maps of dalit or tribal households. For districts where either social group is less than 4% of the population, I have not calculated or mapped the relevant area.

(Hover your mouse over any district for the numbers. Click or tap on any part of the map to switch between mapping of the disparity measure for dalit and tribal households. Lighter coloured areas are districts with lower disparity in access. The green areas are those where the disparity measure is above 0.9. This includes areas where dalit/tribal homes actually have better access to toilets than non-dalit/non-tribal homes i.e. the disparity measure is greater than one)

What do we see in this map?
* Four regions – Maharashtra, Kerala, Gujarat and North East states stand out from the rest of the country, in having generally lower disparity measures than elsewhere, for dalits. In addition, Punjab and Himachal Pradesh seem to be relatively better off than other areas as well.
* The southern states of Karnataka, Andhra and Tamil Nadu are interesting. All three are relatively higher income states – yet on the disparity measure for dalits, their performance is spotty at best.
* For most districts, tribal households are even worse off than dalit households when it comes to access to toilets. The disparity measure for the country as a whole, for dalits, is about 0.61. For tribals, it is 0.43. Again, the North-East states stands out when it comes to access to toilets for tribal households vis-a-vis non-tribal households.

Note that the disparity measure is a relative one. It is entirely possible to have a wealthier district where dalits are better off in absolute terms compared with dalits in a poorer area. However, relative to upper caste neighbours within their own district, they could be shown as being less well off.

The chart below shows the measures state-wise. I haven’t adjusted for states with low dalit or tribal populations in this chart.

Notes :
All data from census 2011. The data table is here.
Map made with D3. Bar chart made using R/ggplot2. Colors palette adapted from colorbrewer.

« older posts