{"push_id":633844681,"size":1,"distinct_size":1,"ref":"refs/heads/master","head":"96022d48a4ec20509f412e5b492855916a0af528","before":"6f6465c45c797f728ee70347a036b6c2a4c3ab77","commits":[{"sha":"96022d48a4ec20509f412e5b492855916a0af528","author":{"email":"dc115d60a0eb872aa16a6913c87537371e79fa85@gmail.com","name":"Chris Cantey"},"message":"Create percentChange\n\nd3.csv(\"./data/NaturalGas.csv\", function(error, data) { \r\n  //set configurable object properties\r\n  var config ={\r\n    margin: {top: 20, right: 00, bottom: 240, left: 230},\r\n    colors: [\"#5982b5\",\"#b8b8b8\"],\r\n    keyString: function(key) { return key == \"2009 Usage (therms)\" || key == \"2013 Usage (therms)\"; }, //comparison columns in chart\r\n    htmlId: \"#gastable\",\r\n    yLabel: \"Therms\",\r\n    columns: [\"Location\", \"Building Size (cubic feet)\", \"2009 Usage (therms)\", \"2013 Usage (therms)\", \"2009 Energy Intensity (therms/ft3)\", \"2013 Energy Intensity (therms/ft3)\", \"Percent Change\"]\r\n  };  \r\n  config.width = 960 - config.margin.left - config.margin.right;\r\n  config.height = 550 - config.margin.top - config.margin.bottom;\r\n  \r\n\r\n  //reset config properties and call percent change bar chart  \r\n  config.htmlId= \"#change\";\r\n  config.yLabel=\"Percent Change\"\r\n  percentChange(data,config);","distinct":true,"url":"https://api.github.com/repos/Ccantey/d3charts/commits/96022d48a4ec20509f412e5b492855916a0af528"}]}