Skip to content

xang1234/Malaysian-Elections-GE14-2018

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Malaysian-Elections-GE14-2018

Data

R libraries

geojsonio, tidyverse, leaflet, htmltools , shiny , plotly, flexdashboard

Application

View App Here

Map tab

Tab displays:

  • Electoral map with results of the 2018 General Elections
  • Racial composition of voters in each parliamentary ward displayed when main map clicked
  • Population pyramid of state in 2018 is displayed when main map is clicked

Map Tab

Scatter plot tab

Tab displays bubble chart or ternary chart. User can select the axis, marker size and color.

Scatter Tab

Scatter Tab

What If tab

User can project the number of seats in a 2 party parliamentary contest. Votes and turnout can be modified for each race. This simplistic model uses the same values for all seats and assumes that only 2 parties contest a seat. Projections are based on 2018 electoral composition. Bumiputera in Sabah and Sarawak are modelled as one block; in reality they are made up of multiple ethnicities.

What If