Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const scrollyTellerConfiguration = { // Section Configuration object | |
// event handler triggered when text box reaches 50% of page height | |
onActivateNarrationFunction: function ({ | |
// section configuration containing a reference to a graph component | |
sectionConfig: { graph }, | |
// state = JSON.parse(trigger) | |
state: { year }, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// define a function to handle each step's events | |
const activateFunctions = []; | |
activateFunctions[1] = showFillerTitle; | |
activateFunctions[2] = showGrid; | |
activateFunctions[3] = highlightGrid; | |
// a plot module (the data visualization) | |
function myPlot(functionArray) { | |
function activate(index) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<section id="scrolly"> | |
<article> | |
<div class="step" data-step="1"> | |
<p>This is some narrative text that helps tell a story.</p> | |
</div> | |
<div class="step" data-step="2"> | |
<p>Notice how much repetition there is in this code.</p> | |
</div> | |
<div class="step" data-step="3"> | |
<p>And imagine having to change it often!</p> |
We can make this file beautiful and searchable if this error is corrected: Unclosed quoted field in line 6.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"location_id","location_level","location_parent_id","path_to_top_parent","location_name","location_ascii_name","location_name_short","location_name_medium","location_type_id","location_description","map_id","start_date","end_date","date_inserted","last_updated","last_updated_by","last_updated_action" | |
6,1,1,"1,6","China","China","China","China",2,"admin0","CHN","1949-01-01 00:00:00",NULL,"2013-05-06 12:35:34","2017-08-15 17:36:26","elissat","UPDATE" | |
7,1,1,"1,7","North Korea","North Korea","N Korea","North Korea",2,"admin0","PRK","1945-01-01 00:00:00",NULL,"2013-05-06 12:35:34","2017-08-15 17:36:26","elissat","UPDATE" | |
8,1,1,"1,8","Taiwan","Taiwan","Taiwan","Taiwan",2,"admin0",71000000,"0001-01-01 00:00:00",NULL,"2013-05-06 12:35:34","2017-08-15 17:36:26","elissat","UPDATE" | |
10,1,1,"1,10","Cambodia","Cambodia","Cambodia","Cambodia",2,"admin0","KHM","1953-01-01 00:00:00",NULL,"2013-05-06 12:35:34","2017-08-15 17:36:26","elissat","UPDATE" | |
11,1,1,"1,11","Indonesia","Indonesia","Indonesia","Indonesia",2,"admin0","IDN |
We can make this file beautiful and searchable if this error is corrected: Unclosed quoted field in line 6.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"location_id","location_level","location_parent_id","path_to_top_parent","location_name","location_ascii_name","location_name_short","location_name_medium","location_type_id","location_description","map_id","start_date","end_date","date_inserted","last_updated","last_updated_by","last_updated_action" | |
6,1,1,"1,6","China","China","China","China",2,"admin0","CHN","1949-01-01 00:00:00",NULL,"2013-05-06 12:35:34","2017-08-15 17:36:26","elissat","UPDATE" | |
7,1,1,"1,7","North Korea","North Korea","N Korea","North Korea",2,"admin0","PRK","1945-01-01 00:00:00",NULL,"2013-05-06 12:35:34","2017-08-15 17:36:26","elissat","UPDATE" | |
8,1,1,"1,8","Taiwan","Taiwan","Taiwan","Taiwan",2,"admin0",71000000,"0001-01-01 00:00:00",NULL,"2013-05-06 12:35:34","2017-08-15 17:36:26","elissat","UPDATE" | |
10,1,1,"1,10","Cambodia","Cambodia","Cambodia","Cambodia",2,"admin0","KHM","1953-01-01 00:00:00",NULL,"2013-05-06 12:35:34","2017-08-15 17:36:26","elissat","UPDATE" | |
11,1,1,"1,11","Indonesia","Indonesia","Indonesia","Indonesia",2,"admin0","IDN |
We can make this file beautiful and searchable if this error is corrected: It looks like row 10 should actually have 14 columns, instead of 12. in line 9.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
measure_id,measure_name,location_id,location_name,sex_id,sex_name,age_id,age_name,metric_id,metric_name,year,val,upper,lower | |
26,Life expectancy,530,Delaware,3,Both,22,All Ages,5,Years,1999,76.2793505408,76.6376240018,75.8878822704 | |
26,Life expectancy,532,Florida,3,Both,22,All Ages,5,Years,1999,77.385808956,77.7841910508,76.9595108863 | |
26,Life expectancy,533,Georgia,3,Both,22,All Ages,5,Years,1999,75.2402637263,75.6741137857,74.7852899626 | |
26,Life expectancy,534,Hawaii,3,Both,22,All Ages,5,Years,1999,79.4283102358,79.7878043629,79.0822906007 | |
26,Life expectancy,535,Idaho,3,Both,22,All Ages,5,Years,1999,77.9222345593,78.3642224282,77.4196541273 | |
26,Life expectancy,536,Illinois,3,Both,22,All Ages,5,Years,1999,76.516752219,76.8681442261,76.1694431903 | |
26,Life expectancy,537,Indiana,3,Both,22,All Ages,5,Years,1999,76.1647538571,76.6109903857,75.7306548493 | |
26,Life expectancy,538,Iowa,3,Both,22,All Ages,5,Years,1999,78.3360721141,78.7289256481,77.9500619067 | |
26,Life expectancy,539,Kansas,3,Both,22,All Ages,5,Years,1999,77. |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
NewerOlder