Skip to content

Instantly share code, notes, and snippets.

@jfsiii
Last active April 17, 2017 21:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jfsiii/517e64adfe0aed8588d2de4a629fe6d6 to your computer and use it in GitHub Desktop.
Save jfsiii/517e64adfe0aed8588d2de4a629fe6d6 to your computer and use it in GitHub Desktop.
EU vs US
license: mit
<!DOCTYPE html>
<!--[if lt IE 7]><html class="lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]><html class="lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]><html class="lt-ie9"> <![endif]-->
<!--[if gt IE 8]><!--> <html> <!--<![endif]-->
<head>
<script src="http://json-stat.org/lib/json-stat.js"></script>
<!-- /DO NOT DO THIS IN PRODUCTION -->
</head>
<body>
<div id="visual" class="visual"></div>
<script>
var
//tesem120: Unemployment rate
url="https://gist.githubusercontent.com/jtrobec/ace17c28c9c939892a99a2eb12721116/raw/7aecd6736b940c380818740d9c66f6f336df8ecc/rweb-exp-1s-120max.json";
JSONstat(url, function(){
console.time('get dataset');
var ds = this.Dataset( 0 );
console.timeEnd('get dataset');
console.log("dataset", ds);
console.time('toTable');
ds.toTable({type: 'arrobj'});
console.timeEnd('toTable');
});
</script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment