I always wanted to look at the Canadian Income and expense Distribution Pie-Chart. Above all I wanted the data to be interactive. HTML5 or jquery is too much to work with and the other nicer tools are costly. Therefore I planned to use Google Chart. Had to add some imagination to it and I came up with a makeshift solution.
You can look at the expenses of five income types. If you move the bottom slider then it runs through Q1-2010 to Q2-2011. These are actually not quarters. These are Canadian population sections.
In statistics, a quantile for the case where the sample or population is divided into fifths – Wikipedia
A twitter user named @Canadian Watchdog, twitted these numbers few days ago. I am just trying to visualize the numbers. I only wish I had a better tool to plot a pie chart. Don’t’ forget – Lies, damn lies and then statistics.
Following are the numbers in Google Chart format – I used in the chart. They are not verified but appears to be okay.
function drawVisualization() {
var data = new google.visualization.DataTable();
data.addColumn('string', 'Sector');
data.addColumn('string', 'Income-Quarter');
data.addColumn('number', 'Expense');
data.addColumn('string', 'Income Category');
data.addRows([
['AfterTax Income','2010Q1',14500,'Lowest Quintile'],
['Total Current Consumption','2010Q1',22052,'Lowest Quintile'],
['Food','2010Q1',4123,'Lowest Quintile'],
['Shelter','2010Q1',9227,'Lowest Quintile'],
['Household Operation','2010Q1',1974,'Lowest Quintile'],
['Household Furnishings & Ecuirnent','2010Q1',782,'Lowest Quintile'],
['Clothing','2010Q1',1447,'Lowest Quintile'],
['Transportation','2010Q1',4450,'Lowest Quintile'],
['Health Care','2010Q1',1379,'Lowest Quintile'],
['Personal Care','2010Q1',459,'Lowest Quintile'],
['Recreation','2010Q1',1403,'Lowest Quintile'],
['Reading Materials & other Printed Matter','2010Q1',641,'Lowest Quintile'],
['Education','2010Q1',104,'Lowest Quintile'],
['Tobacco products and alconolic beverages','2010Q1',635,'Lowest Quintile'],
['Games of Chance (net)','2010Q1',73,'Lowest Quintile'],
['MisceHaneous Expenditures','2010Q1',453,'Lowest Quintile'],
['Personal Taxes','2010Q1',231,'Lowest Quintile'],
['Personal Insurance Payments & Pension Contributions','2010Q1',437,'Lowest Quintile'],
['Gifts of Money & Contributons','2010Q1',765,'Lowest Quintile'],
['Food/Transportation/household Oerations','2010Q1',10547,'Lowest Quintile'],
['AfterTax Income','2010Q2',31600,'Second Quintile'],
['Total Current Consumption','2010Q2',34207,'Second Quintile'],
['Food','2010Q2',5794,'Second Quintile'],
['Shelter','2010Q2',11081,'Second Quintile'],
['Household Operation','2010Q2',2649,'Second Quintile'],
['Household Furnishings & Ecuirnent','2010Q2',1198,'Second Quintile'],
['Clothing','2010Q2',2275,'Second Quintile'],
['Transportation','2010Q2',7442,'Second Quintile'],
['Health Care','2010Q2',1911,'Second Quintile'],
['Personal Care','2010Q2',675,'Second Quintile'],
['Recreation','2010Q2',1963,'Second Quintile'],
['Reading Materials & other Printed Matter','2010Q2',625,'Second Quintile'],
['Education','2010Q2',133,'Second Quintile'],
['Tobacco products and alconolic beverages','2010Q2',809,'Second Quintile'],
['Games of Chance (net)','2010Q2',124,'Second Quintile'],
['MisceHaneous Expenditures','2010Q2',722,'Second Quintile'],
['Personal Taxes','2010Q2',2193,'Second Quintile'],
['Personal Insurance Payments & Pension Contributions','2010Q2',1582,'Second Quintile'],
['Gifts of Money & Contributons','2010Q2',1029,'Second Quintile'],
['Food/Transportation/household Oerations','2010Q2',15885,'Second Quintile'],
['AfterTax Income','2010Q3',48100,'Third Quintile'],
['Total Current Consumption','2010Q3',45955,'Third Quintile'],
['Food','2010Q3',6964,'Third Quintile'],
['Shelter','2010Q3',14528,'Third Quintile'],
['Household Operation','2010Q3',3402,'Third Quintile'],
['Household Furnishings & Ecuirnent','2010Q3',1893,'Third Quintile'],
['Clothing','2010Q3',3064,'Third Quintile'],
['Transportation','2010Q3',10488,'Third Quintile'],
['Health Care','2010Q3',2190,'Third Quintile'],
['Personal Care','2010Q3',838,'Third Quintile'],
['Recreation','2010Q3',3293,'Third Quintile'],
['Reading Materials & other Printed Matter','2010Q3',905,'Third Quintile'],
['Education','2010Q3',174,'Third Quintile'],
['Tobacco products and alconolic beverages','2010Q3',1071,'Third Quintile'],
['Games of Chance (net)','2010Q3',140,'Third Quintile'],
['MisceHaneous Expenditures','2010Q3',1030,'Third Quintile'],
['Personal Taxes','2010Q3',6343,'Third Quintile'],
['Personal Insurance Payments & Pension Contributions','2010Q3',3294,'Third Quintile'],
['Gifts of Money & Contributons','2010Q3',1331,'Third Quintile'],
['Food/Transportation/household Oerations','2010Q3',20854,'Third Quintile'],
['AfterTax Income','2010Q4',71600,'Fourth Quintile'],
['Total Current Consumption','2010Q4',60599,'Fourth Quintile'],
['Food','2010Q4',8795,'Fourth Quintile'],
['Shelter','2010Q4',16938,'Fourth Quintile'],
['Household Operation','2010Q4',4330,'Fourth Quintile'],
['Household Furnishings & Ecuirnent','2010Q4',2103,'Fourth Quintile'],
['Clothing','2010Q4',4185,'Fourth Quintile'],
['Transportation','2010Q4',13548,'Fourth Quintile'],
['Health Care','2010Q4',2511,'Fourth Quintile'],
['Personal Care','2010Q4',1123,'Fourth Quintile'],
['Recreation','2010Q4',4284,'Fourth Quintile'],
['Reading Materials & other Printed Matter','2010Q4',1196,'Fourth Quintile'],
['Education','2010Q4',198,'Fourth Quintile'],
['Tobacco products and alconolic beverages','2010Q4',1347,'Fourth Quintile'],
['Games of Chance (net)','2010Q4',177,'Fourth Quintile'],
['MisceHaneous Expenditures','2010Q4',1414,'Fourth Quintile'],
['Personal Taxes','2010Q4',12624,'Fourth Quintile'],
['Personal Insurance Payments & Pension Contributions','2010Q4',5430,'Fourth Quintile'],
['Gifts of Money & Contributons','2010Q4',1708,'Fourth Quintile'],
['Food/Transportation/household Oerations','2010Q4',26673,'Fourth Quintile'],
['AfterTax Income','2010Q5',132000,'Highest Quintile'],
['Total Current Consumption','2010Q5',90857,'Highest Quintile'],
['Food','2010Q5',11468,'Highest Quintile'],
['Shelter','2010Q5',23204,'Highest Quintile'],
['Household Operation','2010Q5',6489,'Highest Quintile'],
['Household Furnishings & Ecuirnent','2010Q5',3629,'Highest Quintile'],
['Clothing','2010Q5',6285,'Highest Quintile'],
['Transportation','2010Q5',19026,'Highest Quintile'],
['Health Care','2010Q5',2977,'Highest Quintile'],
['Personal Care','2010Q5',1368,'Highest Quintile'],
['Recreation','2010Q5',6743,'Highest Quintile'],
['Reading Materials & other Printed Matter','2010Q5',2387,'Highest Quintile'],
['Education','2010Q5',352,'Highest Quintile'],
['Tobacco products and alconolic beverages','2010Q5',1876,'Highest Quintile'],
['Games of Chance (net)','2010Q5',188,'Highest Quintile'],
['MisceHaneous Expenditures','2010Q5',2213,'Highest Quintile'],
['Personal Taxes','2010Q5',38263,'Highest Quintile'],
['Personal Insurance Payments & Pension Contributions','2010Q5',9320,'Highest Quintile'],
['Gifts of Money & Contributons','2010Q5',3210,'Highest Quintile'],
['Food/Transportation/household Oerations','2010Q5',36983,'Highest Quintile'],
['AfterTax Income','2010Q6',59700,'Canada'],
['Total Current Consumption','2010Q6',50734,'Canada'],
['Food','2010Q6',7443,'Canada'],
['Shelter','2010Q6',14997,'Canada'],
['Household Operation','2010Q6',3773,'Canada'],
['Household Furnishings & Ecuirnent','2010Q6',1923,'Canada'],
['Clothing','2010Q6',3452,'Canada'],
['Transportation','2010Q6',10999,'Canada'],
['Health Care','2010Q6',2194,'Canada'],
['Personal Care','2010Q6',894,'Canada'],
['Recreation','2010Q6',3539,'Canada'],
['Reading Materials & other Printed Matter','2010Q6',1151,'Canada'],
['Education','2010Q6',192,'Canada'],
['Tobacco products and alconolic beverages','2010Q6',1149,'Canada'],
['Games of Chance (net)','2010Q6',141,'Canada'],
['MisceHaneous Expenditures','2010Q6',1167,'Canada'],
['Personal Taxes','2010Q6',11936,'Canada'],
['Personal Insurance Payments & Pension Contributions','2010Q6',4013,'Canada'],
['Gifts of Money & Contributons','2010Q6',1609,'Canada'],
['Food/Transportation/household Oerations','2010Q6',22215,'Canada']
]);



