Skip to content

Instantly share code, notes, and snippets.

@auremoser
Last active September 13, 2017 21:14
Show Gist options
  • Save auremoser/60985adc664c3a73fced to your computer and use it in GitHub Desktop.
Save auremoser/60985adc664c3a73fced to your computer and use it in GitHub Desktop.
[data-vis] Assignment I

9/9/17

Aurelia Moser

Metrics + Data Visualization I

Interactive Critique

INTRODUCTION

For my critique, I chose Snowfall. The interactive is a chapterized narrative about climbing and an avalanche, replete with multimedia interactive pieces that punctuate the text as you scroll. It was written by John Branch on December 26th, 2012 with the help of collaborators.

The topic is detailed in the meta tags in the header of the code when you view source or inspect element, as here:

<meta name="description" content="“Snow Fall: The Avalanche at Tunnel Creek,” by New York Times reporter John Branch, tells the harrowing story of skiers caught in an avalanche.">

ANALYSIS

From observation, I can see that the author alters the content display as the reader scrolls, creating an individual experience for all viewers set to the pace of their own reading.

From inspecting element on the site, I can see that it uses UTF-8 character encoding in <meta charset="utf-8">, it has many browser support modifcations such as <!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->,

It uses a combination of Javascript, HTML, and CSS as seen in the metatags in the <header> and the <style> tags (primarily CSS): <link type="text/css" rel="stylesheet" href="http://graphics8.nytimes.com/packages/css/multimedia/bundles/projects/2012/AvalancheDeploy.css">

From "built with", I can tell that it's uses Wordpress as a CMS, PHP as a framework for the backend, a series of JQuery plugins and Javascript library, embedded Youtube videos and tweets, media queries for mobile compatibility, and HTML5 Boilerplate.

Maybe the most interesting parts were the comments in the code, explaining why certain decisions were made like this one in the css:

/* ----------------------------------------------------- footer tweak to avoid extra space below video */ /*this seems to allow you to scroll past the video and cause the entire page to fade to 0 */

In the Console, I noticed there was an error Uncaught TypeError: Cannot read property 'createOptions' of undefined, I googled it and found this StackOverflow explanation but I am not sure it fully applies to my issue.

I feel the most compelling aspect of the interactive is how it seemed to move, heave, and swell with the user scroll, I would like to learn how to make that happen in code.

RESOURCES

IMAGE

Snowfall Inspect Element

Source for graphic: Braven, J., Snowfall.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment