Demo: Comparing Types of Campaign Money by State

Compare the disbursements, receipts, and loans of Democratic and Republican candidates by state. See how these variables are or aren't correlated.
How to use Pick two variables of the six provided to compare. You can do this by:
  • Using the pull-out lists on the X or Y axis of the scatterplot to the left.
  • Clicking on the appropriate cell in the correlation matrix.
  • On the left is a scatterplot of your chosen variables. The
    amount of money for one variable is the Y axis, the amount of money for
    the other variable is the X axis. Each point represents a state.
  • On the top-right are two maps, one per variable. The darker a state is, the higher the quantity of money.
  • In the middle is a gauge showing the correlation between the
    two variables (1 - strong positive correlation; -1 - strong negative
    correlation; 0 - no correlation)
  • On the bottom-right is a table showing the correlation between every pair of variables.
Please note that this demo currently does not work properly in Internet Explorer.

Interesting Observations Disbursements and receipts are highly correlated within the same
party (e.g. Democratic receipts and Democratic disbursements), and both
variables are pretty strongly correlated cross-party (e.g. Republican
receipts and Democratic receipts). Loans do not seem to have a strong
correlation with other variables or across parties. While state population is not included in this demo, that, too seems to related pretty strongly to disbursements and receipts.
Technology Highlights This demo uses the State Variable Comparison Javascript API to allow comparison of the various campaign money variables. It creates a Google datatable via a SPARQL query and then passes the table on to the API for processing. Dataset 10011 is used to connect state abbreviations to state names.
Uses Dataset: 
Uses Technology: 
Uses Technology: 
Uses Technology: 
Uses Technology: 
No votes yet

Warning: Table './drupal/watchdog' is marked as crashed and last (automatic?) repair failed query: INSERT INTO watchdog (uid, type, message, variables, severity, link, location, referer, hostname, timestamp) VALUES (0, 'php', '%message in %file on line %line.', 'a:4:{s:6:\"%error\";s:12:\"user warning\";s:8:\"%message\";s:371:\"Table './drupal/accesslog' is marked as crashed and last (automatic?) repair failed\nquery: INSERT INTO accesslog (title, path, url, hostname, uid, sid, timer, timestamp) values('Demo: Comparing Types of Campaign Money by State', 'node/3969', '', '', 0, 'evct7fgvgi87fji05vjrifp8o6', 34, 1618683715)\";s:5:\"%file\";s:58:\"/data/www/html/drupal/modules/statistics/statistics.module\";s:5:\"%line\";i:63;}', 3, '', ' in /data/www/html/drupal/includes/ on line 134