Unemployment rate has followed a completely different trend in the US and in the EU.
In this example, data is retrieved from Eurostat in the JSON-stat format, processed with the JSON-stat Javascript Toolkit and visualized with Idescat Visual.
| license: mit |
Unemployment rate has followed a completely different trend in the US and in the EU.
In this example, data is retrieved from Eurostat in the JSON-stat format, processed with the JSON-stat Javascript Toolkit and visualized with Idescat Visual.
| <!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> |