File size: 2,945 Bytes
7b52e07
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
99
<html>
<head><meta charset="utf-8" /><style>html, body { margin: 0; padding: 0; width: 100%; height: 100%; overflow: hidden; }.plotly-graph-div { width: 100vw !important; height: 100vh !important; }</style></head>
<body>
    <div>
        <script type="text/javascript">window.PlotlyConfig = {MathJaxConfig: 'local'};</script>
        <script charset="utf-8" src="plotly.min.js"></script>
        <div id="1408e0e4-4333-4d59-a256-3b5f921ddc25" class="plotly-graph-div" style="height:100vh; width:100vw;"></div>
        <script type="text/plain" data-chart-inline="true">
{
  "library": "Plotly",
  "containerId": "1408e0e4-4333-4d59-a256-3b5f921ddc25",
  "data": [
    {
      "hovertemplate": "country=Botswana<br>lifeExp=%{x}<br>gdpPercap=%{y}<br>year=%{text}<extra></extra>",
      "legendgroup": "Botswana",
      "line": {
        "color": "#636efa",
        "dash": "solid"
      },
      "marker": {
        "symbol": "circle"
      },
      "mode": "lines+markers+text",
      "name": "Botswana",
      "orientation": "v",
      "showlegend": true,
      "text": [1952,1957,1962,1967,1972,1977,1982,1987,1992,1997,2002,2007],
      "x": [47.622,49.618,51.52,53.298,56.024,59.319,61.484,63.622,62.745,52.556,46.63399999999999,50.728],
      "xaxis": "x",
      "y": [851.2411407,918.2325349,983.6539764,1214.709294,2263.6111140000007,3214.857818,4551.14215,6205.88385,7954.111645,8647.142313,11003.60508,12569.85177],
      "yaxis": "y",
      "type": "scatter",
      "textposition": "bottom right"
    },
    {
      "hovertemplate": "country=Canada<br>lifeExp=%{x}<br>gdpPercap=%{y}<br>year=%{text}<extra></extra>",
      "legendgroup": "Canada",
      "line": {
        "color": "#EF553B",
        "dash": "solid"
      },
      "marker": {
        "symbol": "circle"
      },
      "mode": "lines+markers+text",
      "name": "Canada",
      "orientation": "v",
      "showlegend": true,
      "text": [1952,1957,1962,1967,1972,1977,1982,1987,1992,1997,2002,2007],
      "x": [68.75,69.96,71.3,72.13,72.88,74.21,75.76,76.86,77.95,78.61,79.77,80.653],
      "xaxis": "x",
      "y": [11367.16112,12489.95006,13462.48555,16076.58803,18970.57086,22090.88306,22898.79214,26626.51503,26342.88426,28954.92589,33328.96507,36319.23501],
      "yaxis": "y",
      "type": "scatter",
      "textposition": "bottom right"
    }
  ],
  "layout": {
    "xaxis": {
      "anchor": "y",
      "domain": [
        0,
        1
      ],
      "title": {
        "text": "lifeExp"
      }
    },
    "yaxis": {
      "anchor": "x",
      "domain": [
        0,
        1
      ],
      "title": {
        "text": "gdpPercap"
      }
    },
    "legend": {
      "title": {
        "text": "country"
      },
      "tracegroupgap": 0
    },
    "margin": {
      "t": 60
    },
    "autosize": true
  },
  "config": {
    "responsive": true
  }
}
        </script>
        <script src="chart_0118_line.inline01.js"></script>
    </div>
</body>
</html>