diff --git a/dist/css/vendor/_all-skins.min.css b/dist/css/vendor/all-skins.min.css similarity index 100% rename from dist/css/vendor/_all-skins.min.css rename to dist/css/vendor/all-skins.min.css diff --git a/dist/index.html b/dist/index.html index ec3f7f5..d73bf17 100644 --- a/dist/index.html +++ b/dist/index.html @@ -8,7 +8,7 @@ - +
@@ -205,7 +205,7 @@Facebook has been in the news a lot lately and we wanted to know how you feel. We plan to use this survey to understand how Mozilla can better support and advocate for you and your personal information online. The survey was conducted using SurveyGizmo in April 2018, gathering in total 46,619 responses. The survey was meant to capture how people feel about Facebook, particularly in light of the recent Cambridge Analytica revelations. We built this tool so you can explore the results of the survey yourself.
+Facebook has been in the news a lot lately and we wanted to know how you feel. We plan to use these survey results to understand how Mozilla can better support and advocate for you and your personal information online. The survey was conducted using SurveyGizmo in April 2018, gathering in total 46,619 responses. The survey was meant to capture how people feel about Facebook, particularly in light of the recent Cambridge Analytica revelations. We built this tool so you can explore the results of the survey yourself.
This was not a scientific poll. This was as self-selecting survey targeted mostly at people on the Mozilla Foundation email list, the Pocket newsletter email list, through the Mozilla Twitter channel, through a Medium blog post, and through users sharing with friends and family.
diff --git a/dist/js/main.js b/dist/js/main.js index ccb3803..83880f1 100644 --- a/dist/js/main.js +++ b/dist/js/main.js @@ -32,6 +32,7 @@ $(document).ready(function(){ function loadData() { // Show dots while data is crunched $('#dots').show(); + $("svg").remove(); var surveyData = []; d3.csv("assets/data/"+params.question+".csv", function(d,i,columns) { for (var i = 7, n = columns.length; i < n; ++i) d[columns[i]] = +d[columns[i]]; @@ -227,6 +228,18 @@ $(document).ready(function(){ $('#dots').hide(); $('.sample-error').hide(); + // sort object labels for histogram + if (params.question == "q2") { + var orderedData = []; + for(var i=0;iFacebook has been in the news a lot lately and we wanted to know how you feel. We plan to use this survey to understand how Mozilla can better support and advocate for you and your personal information online. The survey was conducted using SurveyGizmo in April 2018, gathering in total 46,619 responses. The survey was meant to capture how people feel about Facebook, particularly in light of the recent Cambridge Analytica revelations. We built this tool so you can explore the results of the survey yourself.
+Facebook has been in the news a lot lately and we wanted to know how you feel. We plan to use these survey results to understand how Mozilla can better support and advocate for you and your personal information online. The survey was conducted using SurveyGizmo in April 2018, gathering in total 46,619 responses. The survey was meant to capture how people feel about Facebook, particularly in light of the recent Cambridge Analytica revelations. We built this tool so you can explore the results of the survey yourself.
This was not a scientific poll. This was as self-selecting survey targeted mostly at people on the Mozilla Foundation email list, the Pocket newsletter email list, through the Mozilla Twitter channel, through a Medium blog post, and through users sharing with friends and family.
diff --git a/src/js/main.js b/src/js/main.js index ccb3803..83880f1 100644 --- a/src/js/main.js +++ b/src/js/main.js @@ -32,6 +32,7 @@ $(document).ready(function(){ function loadData() { // Show dots while data is crunched $('#dots').show(); + $("svg").remove(); var surveyData = []; d3.csv("assets/data/"+params.question+".csv", function(d,i,columns) { for (var i = 7, n = columns.length; i < n; ++i) d[columns[i]] = +d[columns[i]]; @@ -227,6 +228,18 @@ $(document).ready(function(){ $('#dots').hide(); $('.sample-error').hide(); + // sort object labels for histogram + if (params.question == "q2") { + var orderedData = []; + for(var i=0;i