Please have a look into what I done in the DATA cell. Plot itself wasn't hard to make, but creating a pipeline that would "choose" the right data we wanna use was the challenging bit - so if you have any questions/uncertainties just reply to this comment and I will follow up.
In terms of the results, pattern is still there but not as prominent I think.
Obviously there is room for iteration and I think we should explore it. This is a take on the exact replication of the original, but the original was created over 16 years ago, and I personally think it could be better. The original design choices have been however grounded in literature (HiVE and HiDE approaches described in the paper). Nonetheless, I think we can still try and question those with something more recent or applicable.
Check out the one below tho, that's where the party begins.
Also we can use this comment as a discussion space around further iteration of the visualizations, your thoughts etc.
Thanks so much for this! Looks so good :) I'm keen to make sure the data is displaying accurately before inferring any patterns but ready to QA whenever you're ready, just let me know. Once we're happy this Plot is correct, shall we recreate the 2011 ones?
The only difference I can see between this and og fig 1 is the size / number of ward mark rectangles shown for each borough. But that could easily be a design choice or limitation by the software used for og BallotMaps and doesn't relate to the QA. Marking as resolved! Thanks so much Blaze
Can i just check something, in the data set for harrow, it shows 3 wards for Pinner South and 3 for pinner for Liberal Democrats, but only 3 wards are showing for liberal democrat. is this for a particular reason?
Note to self: ask Jo about how exact we should be with replicating the legends and labels, as there are no party labels on fig 4 and I think they should be there rather than in text as in the original. Should that be included only in the 2026 data interpretation or already in an iterated version of the original 2010 visualisation.
I checked this visualisation against the source data (the Democracy Club candidate file), following the method outlined by Beth above: independently verifying each encoding rather than checking the chart against any recreated object.
What I checked: for a sample of 15 candidates spread across different borougg
hs, I pulled each candidate's full three-candidate slate from the raw data and independently:
- sorted the three surnames alphabetically (to derive alpha position)
- sorted the three vote counts highest to lowest to derive voting rank
- compared both derived values against the chart's tooltip for that candidate
- visually confirmed the candidate's cell sat in the correct party column, the correct alpha band (top/middle/bottom), and the correct relative shade
Findings: all sampled candidates matched. Alpha position and voting rank derived independently from the raw data agreed with the values shown in the chart in every case, including the same-surname pairs, where the first-name tie-break resolved correctly (e.g. Aalari/Hetal Patel/Pratham Patel in Harrow, Centenary).
Thanks, Rohan! Can you please reinstate the table you used, underneath the vis, like the others? This will show we have followed the process described in the Report throughout our work.
Thanks! I can see 10 colours here: 2 for each of the five parties. Red, Orange, Blue, Green and Turquoise, each with a less opaque version for unelected candidates.
Which colours can you see?
Ah, got it. Thanks!
The way I would investigate this would be to 'work backwards,' that is:
1. Find out if/where colours5parties is used at the moment.
2. Find out how the turquoise hues (Reform) are generated correctly in the Plot.
3. Determine if colours5parties is still needed or if it's surplus to requirements.
Hope that's helpful. Please shout if anything is unclear or if I can support with anything.
Thanks for this. This looks like a lot of work but unfortunately it doesn’t verify the visualisation in the way we need it to. The code used here builds manual const which are later checked against the vis data; this is circular and does not tell us anything. We still don’t know from this if the vis is rendered as it should be.
As mentioned, quality assurance of the visualisations should be carried out using the underlying datasets; not the recreated objects or any new ones. This way we can demonstrate checking our work (the visualisation) against the data it depicts (untouched outcome data).
If helpful, we already know that the data is there. What we need to verify is that the properties of each candidate have parsed correctly, are positioned correctly in the Plot*, and have not become jumbled by the plot code itself. This isn’t something we can engage AI to do for us — it needs human eyes and brain.
*You WILL find position differences between our ordering of candidates with the same surname in the same party and ward, and the ordering used in the 2011 vis. This is known, has been discussed with Jo, and is due to a difference in their logic and ours. All good but think it's definitely worth mentioning.
As always, please lmk if anything is unclear or if you want to talk anything through :)
I probably should have provided a checklist for the QA after we went through it on the call.
So, the encoding we need to check through this process is primarily the position/s and colour of candidate cells. We know the boroughs, parties and elected/unelected status are present overall from a quick glance. What we need to check is the accuracy of those encodings for candidates:
- Candidate cell position Left-Right (Ward)
- Candidate cell position Top-Bottom, by party (Ballot position/Alpha Rank)
- Cell size is relative to total candidates per Party and position, across all Wards in a Borough
- Cell shape is relative to collective party vote share per Borough
- Colour encoding is relative to elected or unelected status of candidate
To do this, I created tables from the underlying dataset with the fields: Candidate, Ward, Borough, Vote Rank, Party, Alpha Rank and Votes. The table can then be sorted in various ways and the key values checked against the values seen in the tooltips of the visualisation.
We went through this QA process with Jo and Aidan in our mentor meetings, and with Cagatay and Jason in our Replication Study sessions, and it was approved in principle by all. It would therefore be good to stick with this if possible but, if not, any method we use instead needs to ensure we look at the right things. This is especially important for the 2026 data because we do not have a like-for-like visualisation to check against, like we do for the 2010 borough data.
This method also revealed the difference in our own data processing logic and that used in the 2011 analysis, which was a great find from us and something we have written about in the report!
Hopefully the checklist helps, and sorry I didn't think of putting it together sooner. Please let me know if you have any questions.
Cheers Beth, thanks for setting out the checklist, that’s helpful and I’ll use that process moving forward.
Just to clarify, the checks I added were intended as an initial sanity-check layer while I was trying to get something concrete in place, not as a replacement for the manual QA process or judgement. I understand the distinction between validating the derived plotting objects and verifying the rendered visualisation against the underlying source data.
I’ll switch the QA to the process you’ve outlined. That said, I’d appreciate it being clear that this was work done in good faith to move the QA forward, rather than an attempt to bypass the agreed process.
Thanks, Gursaiv. Much appreciated. To the last part, of course that was clear. You logged on later than expected and were working until 4am. I don't think that could be taken any way other than in good faith! Please let me know if anything I wrote suggested otherwise.
Good luck with the rest of the QA and please shout if any issues