-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
24dd5ad
commit f4ece4f
Showing
18 changed files
with
4,157 additions
and
727 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Large diffs are not rendered by default.
Oops, something went wrong.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
486 changes: 486 additions & 0 deletions
486
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.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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, | ||
}, | ||
]; |
Oops, something went wrong.