-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathchart_test.html
98 lines (70 loc) · 8.73 KB
/
chart_test.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="X-UA-Compatible" content="IE=Edge"/>
<title>Principaux destinataires des exportations d'armes françaises (Copy) (Copy)</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="viewport" content="width=device-width, initial-scale=0.95, maximum-scale=0.95, user-scalable=0" />
<!--[if lt IE 9]>
<script src="js/json2.min.js"></script>
<script type="text/javascript">
window.__ltie9 = true;
</script>
<![endif]-->
<link rel="alternate" type="application/json+oembed" href="https://datawrapper.de/api/plugin/oembed?url=https%3A%2F%2Fcharts.datawrapper.de%2Fcpgkj%2F&format=json" title="Principaux destinataires des exportations d'armes françaises (Copy) (Copy)" />
<link rel="stylesheet" type="text/css" href="css/cpgkj.all.css"></link>
<script type="text/javascript" charset="utf-8">
window.__locale = 'en-US';
</script>
<script type="text/javascript" charset="utf-8" src="//datawrapper.dwcdn.net/assets/globalize.min.js"></script>
<script type="text/javascript" charset="utf-8" src="//datawrapper.dwcdn.net/assets/cultures/globalize.culture.en-US.js"></script>
<script type="text/javascript" charset="utf-8" src="//cdnjs.cloudflare.com/ajax/libs/underscore.js/1.8.3/underscore-min.js"></script>
<script type="text/javascript" charset="utf-8" src="//cdnjs.cloudflare.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
<script type="text/javascript" charset="utf-8" src="//datawrapper.dwcdn.net/assets/vendor/raphael-js/2.1.2/raphael-min.js"></script>
<script type="text/javascript" charset="utf-8" src="//datawrapper.dwcdn.net/assets/vendor/chroma-js/0.5.4/chroma.min.js"></script>
<script type="text/javascript" charset="utf-8" src="//datawrapper.dwcdn.net/assets/vendor/d3-light/3.1.8/d3-light.min.js"></script>
<script type="text/javascript" charset="utf-8" src="js/bar-chart-1a3f0242ee9d13cef39ccd24a306b422.min.js"></script>
<script type="text/javascript" charset="utf-8" src="js/pageflow-d57ea8644f1d8940c097a494309fc59a.min.js"></script>
<script type="text/javascript" charset="utf-8" src="js/chart-753c771b6f0ebc215cab76b0fca5e03aab20b743.min.js"></script>
</head>
<body class="dw-chart chart theme-pageflow vis-bar-chart">
<div class="dw-chart-header" id="header">
<h1 >
<span class="chart-title">Principaux destinataires des exportations d'armes françaises (Copy) (Copy)</span>
</h1>
<p class="chart-intro">Volumes en TIV des exportations selon les présidents de la 5ème République</p>
</div>
<div id="chart"></div>
<div id="footer">
<div class="footer-left">
Quelle:
<a target="_blank" class="source" href="http://www.sipri.org/databases/armstransfers/armstransfers">SIPRI</a> | <a class="data-link" href="data.csv">Daten</a>
</div>
<div class="footer-right">
</div>
</div>
<script type="text/javascript" charset="utf-8">
if (document.getElementsByTagName('script').length > 0) $('body').addClass('js');
__dw.init({
chartJSON: {"id":"cpgkj","title":"Principaux destinataires des exportations d'armes fran\u00e7aises (Copy) (Copy)","theme":"pageflow","createdAt":"2016-03-01 09:14:16","lastModifiedAt":"2016-03-01 09:26:21","type":"bar-chart","metadata":{"data.csv":{"transpose":false,"vertical-header":true,"horizontal-header":true},"visualize":{"highlighted-series":["China","Germany (FRG)"],"highlighted-values":[],"filter-missing-values":true,"sort-values":true,"base-color":0,"custom-colors":{"Australia":"#1f77b4","Argentina":"#1f77b4"},"sort-bars":"keep","block-labels":false,"swap-labels":false,"hide-value-labels":false,"label-alignment":"left","value-label-format":"0.0","date-label-format":"YYYY","show-color-key":true,"rules":false,"thick":false,"background":false,"map":"1-world","map-path":"plugins\/visualization-maps\/maps\/1-world","gradient":{"classes-number":5,"class-limit-mode":"equidistant","domain":[230,754.4,1278.8,1803.2,2327.6,2852],"range":{"min":230,"max":2852},"custom-limits":[],"colors":["#fefaca","#008b15"],"chromajs-constructor":"chroma.scale([\"#fefaca\",\"#008b15\"]).domain([230,754.4,1278.8,1803.2,2327.6,2852]).mode('lab');"},"reverse-order":false,"absolute-scale":false},"describe":{"source-name":"SIPRI","source-url":"http:\/\/www.sipri.org\/databases\/armstransfers\/armstransfers","number-format":"-","number-divisor":0,"number-append":"","number-prepend":"","intro":"Volumes en TIV des exportations selon les pr\u00e9sidents de la 5\u00e8me R\u00e9publique"},"publish":{"embed-width":748,"embed-height":615,"background":"#323D4D","text":"#000000","contextBg":"#ffffff"}},"authorId":47884,"showInGallery":false,"language":null,"guestSession":null,"lastEditStep":5,"publishedAt":"2016-03-01 09:26:26","publicUrl":"https:\/\/charts.datawrapper.de\/cpgkj\/index.html","publicVersion":1,"organizationId":null,"forkedFrom":"g5qx9"},
chartLocale: 'en-US',
themeId: 'pageflow',
visId: 'bar-chart',
visJSON: {"id":"bar-chart","title":"Bars (old)","version":"1.7.8","extends":"raphael-chart","order":995,"dimensions":1,"axes":{"labels":{"accepts":["text","date"]},"bars":{"accepts":["number"],"multiple":true}},"options":{"base-color":{"type":"base-color","label":"Base color"},"sort-values":{"type":"checkbox","label":"Autmatically sort bars"},"reverse-order":{"type":"checkbox","label":"Reverse order"},"negative-color":{"type":"checkbox","label":"Use different color for negative values","depends-on":{"chart.min_value[columns]":"<0"}},"absolute-scale":{"type":"checkbox","label":"Use the same scale for all columns"},"filter-missing-values":{"type":"checkbox","default":true,"label":"Filter missing values"}},"libraries":[],"__static_path":"assets\/plugins\/visualization-bar-chart\/","__plugin":"visualization-bar-chart","icon":"<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<!-- Generator: Adobe Illustrator 16.2.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->\n<!DOCTYPE svg PUBLIC \"-\/\/W3C\/\/DTD SVG 1.1 Basic\/\/EN\" \"http:\/\/www.w3.org\/Graphics\/SVG\/1.1\/DTD\/svg11-basic.dtd\">\n<svg version=\"1.1\" baseProfile=\"basic\" id=\"Ebene_1\"\n\t xmlns=\"http:\/\/www.w3.org\/2000\/svg\" xmlns:xlink=\"http:\/\/www.w3.org\/1999\/xlink\" x=\"0px\" y=\"0px\" width=\"100px\" height=\"100px\"\n\t viewBox=\"0 0 100 100\" xml:space=\"preserve\">\n<rect x=\"11\" y=\"11.291\" width=\"38\" height=\"11.348\"\/>\n<rect x=\"11\" y=\"27.952\" width=\"64\" height=\"11.347\"\/>\n<rect x=\"11\" y=\"44.612\" width=\"80\" height=\"11.347\"\/>\n<rect x=\"11\" y=\"61.272\" width=\"54\" height=\"11.348\"\/>\n<rect x=\"11\" y=\"77.933\" width=\"43\" height=\"11.348\"\/>\n<\/svg>\n","hasCSS":true,"locale":[]},
metricPrefix: {"3":"k","6":"m","9":"b","12":"t"},
lang: 'en',
data: "Countries\tDe Gaulle : 1959-1969\tPompidou : 1969-1974\tGiscard d'Estaing : 1974-1981\tMitterand : 1981-1995\tChirac : 1995-2007\tSarkozy : 2007-2012\tHollande : 2012-2014\nArgentina\t\t290\t498\t552\t\t\t\nAustralia\t1279\t\t\t\t\t289\t210\nBelgium\t273\t1324\t447\t\t\t\t\nBrazil\t\t\t\t738\t805\t\t206\nChile\t\t\t\t516\t613\t\t\nChina\t\t\t\t632\t1933\t961\t637\nColombia\t\t224\t\t\t\t\t\nEgypt\t\t\t1224\t1601\t\t\t\nFinland\t\t\t\t543\t\t\t118\nGermany (FRG)\t2852\t703\t948\t\t\t\t\nGreece\t\t372\t1435\t1184\t\t938\t78\nIndia\t\t\t\t1996\t\t\t193\nIran\t\t\t433\t\t\t\t\nIraq\t\t\t639\t4783\t\t\t\nIsrael\t1476\t\t\t\t\t\t\nItaly\t230\t486\t\t\t\t\t\nJordan\t\t\t\t781\t\t\t\nKuwait\t\t\t464\t\t\t\t\nLibya\t\t1445\t1206\t683\t\t\t\nMalaysia\t\t239\t\t\t\t330\t134\nMexico\t\t\t\t\t\t\t98\nMorocco\t\t\t1380\t621\t\t728\t592\nNetherlands\t504\t258\t\t\t\t\t\nOman\t\t\t\t\t\t\t232\nPakistan\t\t835\t1244\t599\t1162\t333\t\nPeru\t\t\t559\t690\t\t\t\nPortugal\t610\t406\t\t\t\t\t\nQatar\t\t\t\t1022\t622\t\t89\nRomania\t\t\t\t585\t\t\t\nSaudi Arabia\t\t\t1236\t4192\t1273\t255\t253\nSingapore\t\t\t\t\t\t1845\t\nSouth Africa\t875\t1014\t1130\t\t\t\t\nSouth Korea\t\t\t\t\t919\t520\t\nSpain\t\t525\t1361\t2048\t\t\t\nSweden\t263\t\t\t\t\t\t\nSwitzerland\t456\t245\t\t\t\t\t\nTaiwan (ROC)\t\t\t\t\t4242\t\t\nTurkey\t\t\t\t\t1103\t\t\nUAE\t\t\t730\t1284\t4892\t605\t399\nUnited Kingdom\t\t273\t\t\t\t\t138\nUnited States\t1120\t\t\t822\t\t276\t260\n"
});
</script>
<script type="text/javascript">
setTimeout(function() {
var ref = document.referrer ? document.referrer.match(/^https?\:\/\/([^\/?#]+)(?:[\/?#]|$)/i)[1] : '';
var img = document.createElement('img');
img.setAttribute('width', 1);
img.setAttribute('height', 1);
img.setAttribute('src', '//stats.datawrapper.de/cpgkj/pixel.gif?r='+ref);
document.body.appendChild(img);
},10);
</script>
</body>
</html>