From 740da1ac5282a61439f389d273146222b67d1faf Mon Sep 17 00:00:00 2001 From: MJ Rossetti Date: Mon, 13 Mar 2017 21:42:10 -0400 Subject: [PATCH 01/15] Use real school names and placeholder data --- employment-outcomes.html | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/employment-outcomes.html b/employment-outcomes.html index 87a8165..042c9dc 100644 --- a/employment-outcomes.html +++ b/employment-outcomes.html @@ -40,20 +40,22 @@

Employment Outcomes for Recent Graduates

// PROCESS AND TRANSFORM RAW DATA // - var chartCategories = ['School A', 'School B', 'School C', 'School D', 'School E'] + var chartCategories = reports.map(function(report){ return report.school_name }) + + var tempData = chartCategories.map(function(category){ return 100}) var chartSeries = [ { name: 'Unemployed', - data: [5, 3, 4, 7, 2] // must be in same order as ['School A', 'School B', 'School C', 'School D', 'School E'] + data: tempData // [5, 3, 4, 7, 2] // must be in same order as ['School A', 'School B', 'School C', 'School D', 'School E'] }, { name: 'Public Interest', - data: [2, 2, 3, 2, 1] // must be in same order as ['School A', 'School B', 'School C', 'School D', 'School E'] + data: tempData // [2, 2, 3, 2, 1] // must be in same order as ['School A', 'School B', 'School C', 'School D', 'School E'] }, { name: 'Big Law', - data: [3, 4, 4, 2, 5] // must be in same order as ['School A', 'School B', 'School C', 'School D', 'School E'] + data: tempData // [3, 4, 4, 2, 5] // must be in same order as ['School A', 'School B', 'School C', 'School D', 'School E'] } ] From 76e502266d468711737d5e124b0fb071902f1552 Mon Sep 17 00:00:00 2001 From: MJ Rossetti Date: Tue, 14 Mar 2017 13:22:54 -0400 Subject: [PATCH 02/15] Use real school data - for the moment focusing on employed vs unemployed statuses --- CREDITS.md | 1 + employment-outcomes.html | 118 ++++++++++++++++++--------------------- 2 files changed, 54 insertions(+), 65 deletions(-) diff --git a/CREDITS.md b/CREDITS.md index 50bd6b5..70a95a8 100644 --- a/CREDITS.md +++ b/CREDITS.md @@ -7,6 +7,7 @@ ## Data Visualization + [Previous project](https://github.com/data-creative/us-gov-greenhouse-gas-emissions/blob/master/emissions.html) involving Highcharts stacked bar graphs + + https://github.com/data-creative/us-gov-greenhouse-gas-emissions/blob/master/emissions.html#L88-L93 ### Charting Libraries diff --git a/employment-outcomes.html b/employment-outcomes.html index 042c9dc..16ffffb 100644 --- a/employment-outcomes.html +++ b/employment-outcomes.html @@ -25,91 +25,79 @@

Employment Outcomes for Recent Graduates