Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@neilhawkins
Last active August 29, 2015 13:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save neilhawkins/9331445 to your computer and use it in GitHub Desktop.
Save neilhawkins/9331445 to your computer and use it in GitHub Desktop.
My 10,000 pixel wide bar chart.

Why a bar chart for 800 rows of data will end in tears and repetitive strain injury.

Data is political donations above £7500 made to Labour, Conservative and Liberal Democrat parties in the United Kingdom between May 2010 and August 2013.

donor amount party
Unite 12426848 lab
UNISON 5846082 lab
GMB 5154811 lab
USDAW 4688206 lab
CWU 1884430 lab
UCATT 456978 lab
Community 451099 lab
TSSA 214037 lab
ASLEF 187001 lab
Musicians Union 95850 lab
BECTU 32549 lab
BFAWU 26758 lab
FBU 10000 lab
Conservative Draws 2793000 con
Focus on Scotland 265000 con
The Spring Lunch 180000 con
United and Cecil Club 97450 con
Watford Business Club 56100 con
Magna Carta Club 60000 con
Scottish Conservative Prize Draw 45000 con
Women2Win 37000 con
North West Norfolk Patrons Club 32404 con
Strangers Gallery 10730 con
Chelmsford Conservative Group 17800 con
Somerset Conservative Group 11894 con
South Derbyshire Conservative Group 12000 con
Carlton Club 8500 con
Dacorum Conservative Group 10500 con
European Conservatives and Reformists 13415 con
Fresh Start 8502 con
Richmond Conservative Group 12400 con
Ethical Medicines Industry Group 11250 con
Fowey Conservative Club 8000 con
Daventry District Conservative Group 7820 con
Vale of Glamorgan Conservative Group 7812 con
Irvine Unionist Club 7512 con
Movement For Change 31116 lab
Newham Labour Group 140300 lab
Manchester Labour Group 80994 lab
Croydon Labour Group 38393 lab
Liverpool Labour Group 60000 lab
Haringey Labour Group 27030 lab
St Helens Labour Group 18689 lab
Tower Hamlets Labour Group 34000 lab
Southwark Labour Group 40343 lab
Leeds Labour Group 9175 lab
Sheffield Labour Group 7549 lab
Slough Labour Group 8009 lab
Islington Labour Group 7700 lab
W Midland Labour Finance and Industry 21000 lab
Glasgow Labour Group 7764 lab
Lambeth Labour Group 26000 lab
Northumberland Labour Group 28046 lab
Bristol Labour Group 19600 lab
Hammersmith and Fulham Labour Group 18177 lab
Doncaster Labour Group 10000 lab
Ealing Labour Group 20000 lab
Leigh Day and Co Solicitors 18250 lab
Norwich Labour Group 9550 lab
National Union of Labour and Socialist Clubs 10003 lab
Stockton Labour Group 15456 lab
Dumfries and Galloway Labour Group 10050 lab
West Midlands Labour Finance and Industry Group 10000 lab
Newham Labour Group 9300 lab
Fabian Society 8205 lab
Oldham Lib Dem Council Group 36512 lib
Newcastle upon Tyne Lib Dem Council Group 37500 lib
Kendal and South Westmorland Liberal Club 9000 lib
Newport Lib Dem Council Group 8329 lib
Scottish Parliament 323709 con
House of Commons 44803 con
Electoral Commission 1248403 con
House of Lords 97997 con
Scottish Parliament 946561 lab
House of Commons 19121433 lab
Electoral Commission 1639628 lab
House of Lords 1287632 lab
Scottish Parliament 189056 lib
House of Commons 158673 lib
Electoral Commission 1493335 lib
House of Lords 27808 lib
Scottish Unionist Association Trust 15000 con
Sir Havergal Downes-Shaw Will Trust 10189 con
Alfred Leslie Hale Trust 17408 con
Ben Gowlett Trustees 25000 lab
Leagrave Trust 20000 lab
Co-operative Group 60000 lab
Australian Labor Party 35996 lab
Co-operative Party 62134 lab
Methuen Liberal Trust Fund 909624 lib
Lib Dem HQ (1924) Pension Fund 280044 lib
Llantisilio Hall Trust 29000 lib
Heaton Moor Reform Club 10000 lib
Sir Arthur Rowbotham 10000 lib
Zac Goldsmith 49463 con
Joan L B Edwards 420576 con
Michael Farmer 2463528 con
David Rowland 1277937 con
May Makhzoumi 908000 con
Lord Fink 725001 con
Peter Cruddas 705402 con
Michael Davis 707000 con
James R Lupton 613600 con
Alexander A Fraser 550000 con
Andrew Law 524330 con
Mark J C Bamford 515000 con
David J Rowland 397920 con
Jean I Parmer 357951 con
Michael Bishop 335000 con
Ayman Asfari 334425 con
Christopher Rokos 298850 con
Rosemary Said 283000 con
Ian R Taylor 263552 con
Peter Beak 265000 con
Michael Hintze 230450 con
Edwin D Healey 250300 con
Alexander Knaster 250000 con
Alan J Lewis 190071 con
Mark C Samworth 240000 con
David W Harding 235900 con
John Frieda 210000 con
Alexander Temerko 208500 con
Sir Paul Ruddock 188000 con
William Ainscough 162450 con
Sir Simon Robertson 160000 con
Vivian Imerman 166730 con
Edward Wray 159600 con
Michael Freeman 142000 con
Andrew Brannon 151500 con
Paul Beecroft 150600 con
Neville A Baxter 110917 con
Hani Farsi 150000 con
David L Mayhew 152500 con
Nicholas D Jenkins 147000 con
David Whelan 150000 con
Henry Keswick 150000 con
Sir John Hall 135000 con
Jeremy Isaacs 150000 con
Neil M Ostrer 150000 con
Richard D Harpin 150000 con
Charles Wigoder 132000 con
Abdul-Majid Jafar 132500 con
Richard Q Hoare 125000 con
Ramez Sousou 125500 con
Jeremy J Hosking 125000 con
Philip K Gibbs 104750 con
George E Robinson 122600 con
Gary Lydiate 100600 con
Xuelin Black 107672 con
David J Coldman 110000 con
June M West 111753 con
Mary Cross 111599 con
Jeremy B Asher 110800 con
James D Thomas 99600 con
Barbara Clark 110533 con
Hugh Sloane 110000 con
Dennis Keech 108000 con
Christopher Ingram 100000 con
James Hay 105000 con
John B Singer 105803 con
Lesley Jackson 105600 con
Sir Martyn Arbib 104600 con
Roderick H Brooks 101000 con
James S Thomas 103000 con
Andrew Scott 103083 con
Anthony Reeves 102012 con
Lord Harris of Peckham 101962 con
Kenneth J Costa 99500 con
Lord John Sainsbury 100750 con
Malcolm Scott 94000 con
Tiziana Cantoni 100000 con
Adam Fleming 100000 con
Henry W Davis 100000 con
Hans Rausing 98000 con
Marit Rausing 98000 con
Lev V Mikheev 95000 con
Roger Nagioff 95000 con
Emma D Pilkington 88200 con
Edmund G Truell 94000 con
Simon Wolfson 82500 con
Jitesh Gadhia 90000 con
Barbara Yerolemou 85000 con
Mark J Page 54610 con
Jonathan Wood 85000 con
Keith G Bradshaw 85000 con
Christian Levett 80000 con
Lord Dolar Popat 78600 con
Michael Aiken 80400 con
Andrew C Green 80050 con
William Philip Richards 80000 con
Matthew R Ferrey 77200 con
Allen Jackson 76500 con
Anthony Buckingham 70000 con
Mark R Tyndall 75000 con
Naguib Kheraj 68500 con
Robert J Madejski 8375 con
Charles Caminada 69829 con
David Ross 61678 con
Michael Batt 70000 con
Debbie S Fiorentino 64329 con
Graham Clempson 67500 con
Peter R Harrison 61400 con
Timothy Jones 65000 con
Patrick R Evershed 49820 con
William H Salomon 64512 con
Edward Atkin 50600 con
Nicholas A Clarke 62600 con
Elizabeth Jackson 62500 con
Georg Von Opel 61590 con
Leonard J Nike 50000 con
Michael Slade 50000 con
Patrick Nahon-Fauchier 60000 con
Ronald Dennis 55000 con
Rajasundram Seinthan 55000 con
Robert D Calrow 59500 con
Fares Fares 58500 con
Robin C Odey 50000 con
Edwina Herrmann 57950 con
George M Hollingbery MP 20629 con
Ranbir S Suri 57320 con
Thomas FT Harrison 50000 con
Andrew G White 51800 con
James Stewart 51800 con
Andrew Reid 54225 con
Jonathan P Moulton 49600 con
Richard Caring 45507 con
John E Dodd 50000 con
Michael S Bradfield 52500 con
James Lyle 50000 con
Anthony N Bickford 50000 con
Abduladem El Mayet 50000 con
David Allen 50000 con
David St George 50000 con
William D Lyons 50000 con
Peter Wood 50000 con
John D Spurling OBE 50000 con
Julian Richer 50000 con
Thomas R Scott 50000 con
Lord Ballyedmond 50000 con
John T Ross 50000 con
Catherine C Baxendale 50000 con
David J Lyons 50000 con
Graeme Hossie 50000 con
Jonathan C Chevenix-Trench 50000 con
Kevin Lomax 50000 con
Nisham S Sidhu-Brar 50000 con
Oluwole Kolade 50000 con
Peter J Jeffreys 50000 con
Robert J Lloyd George 50000 con
Nadey Hakim 47775 con
Hans A Rausing 49000 con
Marit M Rausing 49000 con
Hilda D Harcourt 48876 con
David T Mowat 48000 con
Peter M Steward 47500 con
Peter Kane 46600 con
Neil Record 44050 con
Jonathan Goodwin 40000 con
Aidan Heavey 45000 con
Carolyn Ward 26438 con
Richard J Oldfield 43000 con
Edward M Lee 42500 con
Ruby G Holloway 41981 con
Colin Grassie 41500 con
Sheena Evershed 25860 con
Julian Kitchener-Fellowes 40000 con
Ernest R Travis 38196 con
Sir Christopher Gent 34000 con
Howard Leigh 16500 con
Anna C Hobhouse 37000 con
Peter A Dubens 37000 con
James Chestnut 35000 con
John L Whiter 36000 con
Jeremy J Oates 21000 con
Steven J Williams 25000 con
Edward Eisler 35000 con
James A Reuben 35000 con
Robin Fleming 35000 con
Britt A Shaw 21300 con
Carol Lazarus 30000 con
Andrew Sells 26250 con
John HJ Lewis 25000 con
Stephen W Curran 30000 con
Stephen Howard 22840 con
Terence G Bramall 30000 con
Joan C Lloyd 30000 con
John R Maxted 30000 con
Stephen L Ellis 30000 con
Raymond L Kent 28859 con
Paul J Flynn 28846 con
Simon Keswick 10000 con
John T Kennedy 26600 con
Herbert D Ellis 26000 con
Frederick Forsyth 26000 con
Hilda R Worth 25000 con
Mahomed A Galadari 25000 con
Walter L Hannay 25000 con
John L Beckwith 25000 con
Stephen P Morant 25000 con
Julian L Smith 25000 con
Jon Thorn 25000 con
Stephen J Catlin 25000 con
Stuart Mitchell 25000 con
William Winters 25000 con
Selina Burdell 25000 con
David EM Mond 25000 con
Carol A Healey 25000 con
David C Jackson 25000 con
David Hempleman-Adams 25000 con
Matthew Orr 25000 con
Nicholas Finegold 22600 con
Jon P Moynihan 17000 con
Christopher R Brooke 20000 con
Nigel G McNair-Scott 20000 con
Janet R Skinner 22956 con
Robert M Kirkland 20000 con
Guy Monson 22300 con
Sandhya Popat 22000 con
Brandon Lewis 21609 con
Gilbert T Willett 20000 con
Lisa Valk 21000 con
Hugh E Osmond 20700 con
Michael J Hutchinson 20000 con
Costas Kaplanis 20000 con
John T McAlpine 20000 con
Patricia M Hobson 20000 con
Christopher Sharples 20000 con
Garvan O'Doherty 20000 con
Lavinia N Wallop 20000 con
Andrew J Roberts 20000 con
Anthony Gallagher 20000 con
Bernard J Taylor 20000 con
Coral Samuel 20000 con
Lord Geoffrey Borwick 20000 con
Richard L Matthewman 20000 con
Stuart Lipton 20000 con
Jenny Ellis 19900 con
Charles G Leach 19500 con
Margaret Scoffield 19079 con
John C Cook 19000 con
Ivor Braka 18969 con
Nicholas C Trimmatis 17950 con
Mohammed I Sheikh 15000 con
Ranjit S Baxi 14950 con
Stephen L Massey 12000 con
Alan R Reece 10000 con
Terence Cole 14950 con
David Peacock 15500 con
Ryan J Robson 15437 con
Johan Christofferson 10000 con
Roy L Peires 10000 con
Emmanuel Roman 15000 con
John R Wilkinson 15000 con
Benjamin Goldsmith 15000 con
Debbie Fiorentino 15000 con
Fiona E Thomas 15000 con
Ivy M Tomlinson 15000 con
Chaim P Zabludowicz 12100 con
Calum Melville 14200 con
Philip G Hooker 10000 con
Rodney M Tennant 10000 con
Vincent Tchenguiz 13500 con
Joshua Critchley 8500 con
Grahame N Elliott 13200 con
Peter C Rich 13000 con
Richard Law 7750 con
Ian C Carter 10000 con
Matthew Cavanagh 10000 con
Timothy R Jones 12500 con
John Harris 12350 con
Timothy Ingram Hill 12130 con
Paul Brett 12000 con
Graham H Silk 10000 con
Neil C Clifford 12000 con
Timothy Sanderson 11000 con
Martin Ainscough 10000 con
William Fall 11500 con
Heather Frankham 8400 con
David B Monaghan 11000 con
Lady Victoria Borwick 11000 con
Alastair Salvesen 11000 con
Jeremy Hanley 8500 con
Alison Frost 8712 con
Fiona Cruddas 8000 con
Quentin Earl of Portsmouth 10650 con
Albert E Whittamore 10421 con
George Chigladze 10100 con
William Reeve 10040 con
Thomazina E Jones 10038 con
George R Pinto 10000 con
Adam Afriyie MP 10000 con
Edmund Lazarus 10000 con
John D Lovering 10000 con
Kenneth Brook-Chrispin 10000 con
Andrew Collinson 10000 con
Edward M McCullagh 10000 con
Michael Lewis 10000 con
Francis Brooke 10000 con
George Piskov 10000 con
David E Johnson 10000 con
Nigel Lindsay-Fynn 8000 con
Tim Oliver 10000 con
Alan Miller 10000 con
Ali A Mosawi 10000 con
Barbara J Aston Taylor 10000 con
Charles Masefield 10000 con
Chris Hudson 10000 con
David Richards 10000 con
Davide Serra 10000 con
Dr Anwar Ali 10000 con
Dr Lauren J Rea 10000 con
Edna Davies 10000 con
Guy R A Readman 10000 con
Hugh J Harper 10000 con
James A McAlpine 10000 con
Malcolm Walker 10000 con
Neville S Baker 10000 con
Nicholas Leslau 10000 con
Patrick Gillford 10000 con
Richard J Cripps 10000 con
Robert C Walters 10000 con
Robert Kilgour 10000 con
Sanjive Sharma 10000 con
Sir Cameron Mackintosh 10000 con
Alan Yau 10000 con
Robert N Wilson 9999 con
Lord Edmiston 9000 con
Abdool R Ebrahimkhan 7625 con
George P Apter 9200 con
Suri 9200 con
Susan Geddes 9000 con
Adrian Bott 9000 con
Hilary J Phillips 9000 con
Massey Lopez 9000 con
Michael De Picciotto 9000 con
Tessa Hartmann 8950 con
Howard Shore 8940 con
Margaret Challis 8813 con
Sallie Hendry 8640 con
Arthur C Tompkins 8600 con
Rowena Mary Vrijland 8600 con
John C Peake 8500 con
Christopher Saunders 8500 con
Marina Ritossa 8100 con
Meriel C Antoniou 8100 con
Christopher G French 8000 con
Avtar Lit 8000 con
Geddes 8000 con
Lord Edward Haughey 8000 con
Nicholas R Bowers 8000 con
Susanna Peake 7600 con
William Ives 7600 con
David A Peake 7600 con
Amanda Shaw 7515 con
David Taylor 10000 lab
John Mills 1647500 lab
Andrew Rosenfeld 661440 lab
William Haughey 228100 lab
Martin Taylor 198000 lab
Margaret Louisa Evans 115320 lab
Lord Alan Sugar 111145 lab
Richard Brindle 100000 lab
Ken Follett 73200 lab
Barbara Follett MP 34975 lab
William Bottriell 47100 lab
Richard Greer 50263 lab
Kevin McGrath 50000 lab
Alan Massie 32068 lab
David Blunkett 20000 lab
Faizul Rasool 40495 lab
Stephen Kinsella 36850 lab
Tom Lynch 39350 lab
Graham Cole 32450 lab
Edward Ernest Lambert 35670 lab
Alice Whiteley 32400 lab
Eddie Izzard 31550 lab
Kuramarasamy Karunamoorthy 30000 lab
Alastair Campbell 29800 lab
Lord Sushantha Bhattacharyya 20500 lab
Neil Goulden 27000 lab
Giles Wright 25000 lab
Graham Jones 24000 lab
Gerald Andrews 23585 lab
Nigel Doughty 20844 lab
Mahendran Lakshman 20000 lab
William Thomas 20000 lab
Alastair Knott 19703 lab
Gordon Bushell 19000 lab
Margaret Jean Sergeant 17500 lab
Anthony Gormley 16000 lab
Lord Waheed Alli 15000 lab
Robin Bonsall 15000 lab
Rohan Manickavasagar 15000 lab
Nicolette Gavron 13609 lab
Amin Hemani 12500 lab
Trevor Beattie 11500 lab
Phyllis Pettitt 10505 lab
Mark Riddick 10022 lab
Alan Wilson 10000 lab
Donald Hanson 10000 lab
Dorothy Robertson 10000 lab
Eric Moore 10000 lab
Grayson Perry 10000 lab
Penelope Corfield 10000 lab
Peter Coates 10000 lab
Satish Desai 10000 lab
Sir Maurice Victor Blank 10000 lab
Stefanos Stefanou 10000 lab
Steve Hart 10000 lab
Shkeela Kayani 9000 lab
Lord Noon 8500 lab
Graham R Hunnable 300000 lib
Lord Loomba 250000 lib
Lord Alliance 148350 lib
Katherine M A Egan 129627 lib
Richard Duncalf 96750 lib
Joan L B Edwards 99423 lib
Thomas R L Fraser 87372 lib
Lord Strasburger 42813 lib
Brian Roper 66174 lib
Oscar Pinto-Hervia 62000 lib
Derek J Webb 62500 lib
Hannah O'Donnell 62500 lib
Peter Dunphy 42962 lib
Kunal Tulsiani 50000 lib
Margaret Roper 50000 lib
Dominic Mathon 32000 lib
Anthony Bunker 33250 lib
David Stevens 29900 lib
Christopher Nicholson 39000 lib
Heather Stevens 37389 lib
Zelina Dewan 31000 lib
Charles D W Brand 30000 lib
C Roy Brown 30000 lib
Dr Philip Smith 25000 lib
Duncan Greenland 7700 lib
Angus Tulloch 25000 lib
Lord Vallance 15000 lib
Anthony Wilkinson 25000 lib
Bob Russell 25000 lib
Joan Alvarez 25000 lib
Michael I Brehme 25000 lib
Robin Alvarez 25000 lib
Simon Ruddick 25000 lib
Susan Ruddick 25000 lib
Giles Archibald 12000 lib
Kenneth Douglas 10000 lib
Roderick J Lynch 10000 lib
Joanna Kenny 13018 lib
Dr Annette Rawson OBE 20000 lib
Finn Gray 20000 lib
Gordon R Ingram 20000 lib
Iris M Jones 20000 lib
J Donald Hanson 20000 lib
Peter Magyar 20000 lib
Lord Oakeshott 8500 lib
Chris Nicholson 10000 lib
Ruth Dombey 16760 lib
Chris Huhne MP 10200 lib
Kenneth H Lavender 10000 lib
C Neil Phoenix 8582 lib
Peter Crystal 11000 lib
Julia Glenn 15000 lib
Peter Black 14000 lib
Miss Frances M Cameron 13373 lib
John Rainbow 10000 lib
Sir David C M Bell 13000 lib
Graham Tobbell 12500 lib
Gitte Dawson 10000 lib
Rosalind Wright 10000 lib
Ardeshir Naghshineh 10000 lib
David Sutherland 10000 lib
Katherine Smyth 10000 lib
Martin Rayner 10000 lib
Peter Bennett-Jones 10000 lib
Stephen Brown 10000 lib
W Martin Rayner 10000 lib
Ian Matthews 8817 lib
Neil Sherlock 8160 lib
Alan Reid MP 8000 lib
Professor John Howson 8000 lib
Dr Philip Gosling 7720 lib
PWC 8305 con
KPMG 31500 con
Sir Simon Robertson 10000 con
Deloitte 83555 con
Killik and Co LLP 73500 con
Wilbraham Securities LLP 20000 con
SCM Private LLP 11680 con
Root Capital 9200 con
Irwin Mitchell LLP 8600 con
Bloomberg 144200 con
Canary Wharf Group 65000 con
Huawei Technologies Co 8600 con
Bestway 185450 con
Sofra International 10000 con
JCB Research - Bamford 1380000 con
IM Group of companies 660315 con
Lycamobile UK 426292 con
Flowidea 405750 con
IPGL 376517 con
Shore Capital Group 270500 con
David Ord 249600 con
Westfield Shoppingtowns 200000 con
J and H Sales (International) 201620 con
MECM 200000 con
GR Software and Research 196400 con
Norbrook Laboratories 193500 con
CCC Group of Companies 175500 con
Wates Group Services 160000 con
Rainham Steel Co 157950 con
Euro RSCG London 150000 con
FIL Investment Management 150000 con
Broadland Properties 150000 con
Investors in Private Capital 140400 con
Offshore Group Newcastle 139655 con
William Cook Holdings 123287 con
The Funding Corporation Group 130000 con
Babyway International 100000 con
Bearwood Corporate Services 99264 con
Addison Lee 100000 con
Gloucester Research 100000 con
Countywide Developments 100000 con
CMC Markets UK 100000 con
FIL Holdings 100000 con
Trenchant 78900 con
Realreed 84388 con
Berkeley Burke 73462 con
Sussex Research 80000 con
Universal Music Operations 80000 con
Tompkins UK 76700 con
Selfridges Retail 75000 con
Albert Buildings 8000 con
Dukehill Services 70000 con
Windsor Partners 69000 con
Rich Investments 61000 con
Robinbest 60000 con
The Cayzer Trust Company 65000 con
Residential Land Holdings 55500 con
Hampden Insurance Holdings 54600 con
The Halcyon Gallery 50000 con
Aggregate Industries UK 50000 con
Harilela Hotels 50000 con
Vincos 50000 con
Delancey Real Estate Asset Management 50000 con
Clerewell 50000 con
Noble Foods 50000 con
Headstock Distribution 50000 con
RAB Capital 50000 con
B and S Properties (London) 50000 con
Darren Baker Fine Arts 50000 con
Exotix 50000 con
Hamptonline 50000 con
Marcus Cooper Property Consulting 50000 con
The A and S Leisure Group 50000 con
Arbuthnot Banking Group 46710 con
Randox Laboratories 47400 con
Tesco 10000 con
Crombie Concessions 35381 con
Conservative Properties Wavertree 35000 con
Keltbray 41500 con
Sun Mark 24000 con
Tattersall 35000 con
Alchemist Estates 25000 con
SITA 13800 con
Harris and Sheldon Group 37500 con
Microsoft 37500 con
Multitone Electronics 35000 con
Access Industries 34450 con
McDowell's Development Company 31000 con
Christopher Moran and Co 30000 con
First Corporate Consultants 30000 con
AC Properties (Acton) 23000 con
Newship 30000 con
Resilient Networks 30000 con
CH2M Hill 16000 con
Sapinda UK 28600 con
Jayroma (London) 21690 con
British Institute of Technology and E-Commerce 27000 con
London and Regional Properties 25430 con
Crescent Properties 26500 con
Lifetime Training Group 26000 con
GCH Capital 25500 con
Bell Pottinger Group 22100 con
Bansols Beta 19200 con
EIM (United Kingdom) 25000 con
Barnford Industries 25000 con
Buckley Jewellery 25000 con
Peter Hambro 25000 con
Ilchester Estates 20000 con
Bamford Industries 25000 con
George Downling Construction 25000 con
KGL (Estates) 17000 con
Pacific Investments 25000 con
Regenesis Developments 15000 con
Topland Group 25000 con
Project Associates 24500 con
Huntsworth 24000 con
Phillips 17000 con
Telegraph Media Group 23925 con
Ashport 23600 con
Hanover Communications International 21500 con
Panther Securities 20000 con
Seamark 12000 con
Annabel's (Berkeley Square) 20000 con
The Harrodian School 20000 con
Libra Textiles 20000 con
Odey Asset Management Group 20000 con
Tuxford Exports 20000 con
Unex Construction 20000 con
John Cotton Gp 12500 con
HCA International 17000 con
William Lamb Footwear 15000 con
Scythian 10000 con
Philip Mould 15000 con
First Belgravia Properties 15000 con
Kerry London 15000 con
Euro RSCG Apex Communications 11900 con
Dow Investments 9750 con
Scottish Power UK 14000 con
Sovereign Strategy 11000 con
CQS 10439 con
London Film Museum (Covent Garden) 10500 con
Glentree Estates 12000 con
Avanti Communications 12500 con
IVS Group 12500 con
MSG Commercial 7675 con
Concept Business Group 11912 con
Moundsley Hall Nursing Home 10975 con
Fort Vale 10500 con
Hartmann Media 8000 con
Lousada 10000 con
IC Technology UK 10000 con
Folkes Holdings 10000 con
Patron Capital 10000 con
Midland Chilled Foods 10000 con
Biznet UK 10000 con
Bolton Aerospace 10000 con
Cheveley Park Stud 10000 con
Euro Foods Group 10000 con
Libra Group Services 10000 con
Oakmont Resources 10000 con
Quantum Securities 10000 con
Stockford 10000 con
Yorkshire Antique and Fine Art Auctioneers 10000 con
Tom Atkins Group 10000 con
Waterford Finance and Investment (UK) 10000 con
Hartley Property Trust 9750 con
Hartley Propoerty Trust 9750 con
Six Senses London 9395 con
CTF Partners 9348 con
China Tang London 9300 con
Churchill Retirement (Group) 9250 con
Altitude Broadcasting and Corporate Studios 9249 con
EUK Consulting 9000 con
Smithfield Consultants 8750 con
Olympic (South) 8600 con
Rich Estates 8600 con
CH2M Hill Services 8600 con
JCB Excavators - Bamford 8500 con
Alexander Inglis and Son 8500 con
General Commercial Agencies 8500 con
Bisichi Mining 8500 con
Bowmer and Kirkland 8500 con
Enquest Dons 8500 con
ICAP Management Services 8500 con
In2matrix UK 8500 con
JCB Sales - Bamford 8500 con
Abbey Business Centres 8387 con
GFI Holdings 8000 con
Eaga 8000 con
Finsbury 8000 con
Kensington Development 8000 con
Soneva 8000 con
TSL Education 8000 con
DLA Piper UK 7957 con
Emarel Services 7810 con
PWC 501381 lab
KPMG 110600 lab
Thompsons Solicitors 8600 lab
Beattie McGuinness Bungay London LLP 13820 lab
Bloomberg 184375 lab
Canary Wharf Group 10908 lab
Betterworld 87000 lab
Saatchi and Saatchi Group 322605 lab
Westfield Shoppingtowns 50000 lab
Political Animal Lobby Linited 150000 lab
Allam Marine 100000 lab
Lionel Cooke Memorial Fund 92000 lab
United Wholesale (Scotland) 76799 lab
Hillside (New Media) 75000 lab
Bannatyne Fitness 50000 lab
Mascolo 50000 lab
Toni and Guy Holdings 50000 lab
Typepost 47000 lab
Silveta 43590 lab
Tesco 32188 lab
SITA 18730 lab
White Dark 30000 lab
BM Creative Management 28040 lab
CH2M Hill 13100 lab
Scottish Power 25025 lab
Opal Property Group 18994 lab
ASDA 8050 lab
ICAEW 13192 lab
Maxworld Trading 12500 lab
Independent Print 11750 lab
Tangent Communications 11750 lab
GovNet Communications 10800 lab
National Express 10800 lab
A-I-R Hotels 10000 lab
C0021043 10000 lab
G1 GROUP 10000 lab
Port of Tyne Distribution 8500 lab
Cellcrypt 7975 lab
Ove Arup and Partnert International 7942 lab
PWC 289199 lib
KPMG 120154 lib
Joseph Rowntree Reform Trust 547001 lib
Brompton Capital 845000 lib
Ministry of Sound 677158 lib
C and C Group 420000 lib
Bloomberg 135350 lib
Echo Reasearch 23000 lib
Romiley Liberal Club and Hall 15000 lib
Vitabiotics 20000 lib
Marcus Evans 19839 lib
Auvian 22500 lib
C and C Alpha Group 20000 lib
India First 17903 lib
Reading Liberal Club 12000 lib
Scarborough Liberal Club House Cmpany 8500 lib
Betterworld 10000 lib
Merthyr Tydfil Car Auctions 10000 lib
The European Azerbijan Society 10000 lib
MC2 Manchester 10598 lib
Huawei Technologies Co 10000 lib
Carrousel Capital 10000 lib
Commonwealth Investment Corporation 10000 lib
Tele City Group 10000 lib
Westhill Developments Arnhall 10000 lib
Independent News and Media 9040 lib
Opal-Chant 9000 lib
<!DOCTYPE html>
<meta charset="utf-8">
<head>
<style>
.axis {
font: 11px 'Open sans', sans-serif;
}
p {
font: 20px 'Open sans', sans-serif;
}
.axis path,
.axis line {
fill: none;
stroke: #000;
shape-rendering: crispEdges;
}
.x.axis path {
display: none;
}
</style>
</head>
<body>
<script src="http://d3js.org/d3.v3.min.js"></script>
<script>
var margin = {top: 20, right: 20, bottom: 200, left:100},
width = 10000 - margin.left - margin.right,
height = 600 - margin.top - margin.bottom;
var commasFormatter = d3.format(",.0f")
var x = d3.scale.ordinal()
.rangeRoundBands([0, width], .1);
var y = d3.scale.linear()
.range([height, 0]);
var xAxis = d3.svg.axis()
.scale(x)
.orient("bottom");
var yAxis = d3.svg.axis()
.scale(y)
.orient("left")
.tickFormat(function(d) { return "£" + commasFormatter(d); });
var svg = d3.select("body").append("svg")
.attr("width", width + margin.left + margin.right)
.attr("height", height + margin.top + margin.bottom)
.append("g")
.attr("transform", "translate(" + margin.left + "," + margin.top + ")");
var fill = d3.scale.ordinal().range(["#F02233", "#087FBD", "#FDBB30"]);
d3.csv("donors.csv", type, function(error, data) {
data.sort(function(a,b) {return b.amount-a.amount;});
x.domain(data.map(function(d) { return d.donor; }));
y.domain([0, d3.max(data, function(d) { return d.amount; })]);
svg.append("g")
.attr("class", "x axis")
.attr("transform", "translate(0," + height + ")")
.call(xAxis)
.selectAll("text")
.style("text-anchor", "end")
.attr("dx", "-1em")
.attr("dy", ".1em")
.attr("transform", function(d) {
return "rotate(-65)"
});
svg.append("g")
.attr("class", "y axis")
.call(yAxis)
.append("text")
.attr("transform", "rotate(-90)")
.attr("y", 6)
.attr("dy", ".71em")
.style("text-anchor", "end")
.text("Donations");
svg.selectAll(".bar")
.data(data)
.enter().append("rect")
.attr("class", "bar")
.attr("x", function(d) { return x(d.donor); })
.attr("width", x.rangeBand())
.attr("y", function(d) { return y(d.amount); })
.style("fill", function(d) { return fill(d.party); })
.attr("height", function(d) { return height - y(d.amount); });
});
function type(d) {
d.amount = +d.amount;
return d;
}
</script>
<h2>Donations made to UK political parties 05/2010 - 08/2013</h2>
<p>Scroll to the right >></p>
<p style="position: absolute; left: 3000px">so scrolling...</p>
<p style="position: absolute; left: 5000px">much width...</p>
<p style="position: absolute; left: 9900px">very useless.</p>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment