Skip to content

Commit

Permalink
past elections
Browse files Browse the repository at this point in the history
  • Loading branch information
hemisemidemipresent committed Mar 16, 2024
1 parent 24dd5ad commit f4ece4f
Show file tree
Hide file tree
Showing 18 changed files with 4,157 additions and 727 deletions.
480 changes: 0 additions & 480 deletions 2015.html

This file was deleted.

146 changes: 18 additions & 128 deletions index.html

Large diffs are not rendered by default.

543 changes: 543 additions & 0 deletions maps/2001.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
430 changes: 430 additions & 0 deletions maps/2006.html

Large diffs are not rendered by default.

405 changes: 405 additions & 0 deletions maps/2006_test.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
369 changes: 369 additions & 0 deletions maps/2011.html

Large diffs are not rendered by default.

492 changes: 492 additions & 0 deletions maps/2015.html

Large diffs are not rendered by default.

145 changes: 145 additions & 0 deletions maps/2020.html

Large diffs are not rendered by default.

486 changes: 486 additions & 0 deletions maps/Map_of_the_results_of_the_2006_Singaporean_general_election.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
301 changes: 301 additions & 0 deletions scripts/2006.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,301 @@
const year = 2006;
const needStroke = true;
const strokeWidth = 0.25;
const results = [
{
name: "Bukit Panjang",
votes: [
{
name: "PAP",
percent: 77.18,
},
{
name: "SDP",
percent: 22.82,
},
],
seats: 1,
},
{
name: "Chua Chu Kang",
votes: [
{
name: "PAP",
percent: 60.37,
},
{
name: "SDA",
percent: 39.63,
},
],
seats: 1,
},
{
name: "Hougang",
votes: [
{
name: "PAP",
percent: 37.26,
},
{
name: "WP",
percent: 62.74,
},
],
seats: 1,
},
{
name: "Joo Chiat",
votes: [
{
name: "PAP",
percent: 65.01,
},
{
name: "WP",
percent: 34.99,
},
],
seats: 1,
},
{
name: "MacPherson",
votes: [
{
name: "PAP",
percent: 68.28,
},
{
name: "SDA",
percent: 31.52,
},
],
opp: "PV",
seats: 1,
},
{
name: "Nee Soon Central",
votes: [
{
name: "PAP",
percent: 65.37,
},
{
name: "WP",
percent: 34.63,
},
],
seats: 1,
},
{
name: "Nee Soon East",
votes: [
{
name: "PAP",
percent: 68.72,
},
{
name: "WP",
percent: 31.28,
},
],
seats: 1,
},
{
name: "Potong Pasir",
votes: [
{
name: "PAP",
percent: 44.18,
},
{
name: "SDA",
percent: 55.82,
},
],
seats: 1,
},
{
name: "Yio Chu Kang",
votes: [
{
name: "PAP",
percent: 68.28,
},
{
name: "SDA",
percent: 31.72,
},
],
seats: 1,
},
{
name: "Aljunied",
votes: [
{
name: "PAP",
percent: 56.09,
},
{
name: "WP",
percent: 43.91,
},
],
seats: 5,
},
{
name: "Bishan-Toa Payoh",
votes: [
{
name: "PAP",
percent: 100,
},
],
seats: 5,
},
{
name: "Holland-Bukit Timah",
votes: [
{
name: "PAP",
percent: 100,
},
],
seats: 5,
},
{
name: "Hong Kah",
votes: [
{
name: "PAP",
percent: 100,
},
],
seats: 5,
},
{
name: "East Coast",
votes: [
{
name: "PAP",
percent: 63.86,
},
{
name: "WP",
percent: 36.14,
},
],
seats: 5,
},
{
name: "Jalan Besar",
votes: [
{
name: "PAP",
percent: 69.26,
},
{
name: "SDA",
percent: 30.74,
},
],
seats: 5,
},
{
name: "Jurong",
votes: [
{
name: "PAP",
percent: 100,
},
],
seats: 5,
},
{
name: "Tampines",
votes: [
{
name: "PAP",
percent: 57.22,
},
{
name: "NSP",
percent: 42.78,
},
],
seats: 5,
},
{
name: "West Coast",
votes: [
{
name: "PAP",
percent: 100,
},
],
seats: 5,
},
{
name: "Ang Mo Kio",
votes: [
{
name: "PAP",
percent: 66.14,
},
{
name: "WP",
percent: 33.86,
},
],
seats: 6,
},
{
name: "Marine Parade",
votes: [
{
name: "PAP",
percent: 100,
},
],
seats: 6,
},
{
name: "Pasir Ris-Punggol",
votes: [
{
name: "PAP",
percent: 68.70,
},
{
name: "SDA",
percent: 31.30,
},
],
seats: 6,
},
{
name: "Sembawang",
votes: [
{
name: "PAP",
percent: 76.70,
},
{
name: "SDP",
percent: 23.30,
},
],
seats: 6,
},

{
name: "Tanjong Pagar",
votes: [
{
name: "PAP",
percent: 100,
},
],
seats: 6,
},
];
Loading

0 comments on commit f4ece4f

Please sign in to comment.