25'ten fazla konu seçemezsiniz Konular bir harf veya rakamla başlamalı, kısa çizgiler ('-') içerebilir ve en fazla 35 karakter uzunluğunda olabilir.

456 satır
243KB

  1. <!DOCTYPE html>
  2. <html xmlns="http://www.w3.org/1999/xhtml" lang="" xml:lang="">
  3. <head>
  4. <title>Interactivité</title>
  5. <meta charset="utf-8" />
  6. <meta name="author" content="Maxime Wack" />
  7. <link href="libs/remark-css-0.0.1/default.css" rel="stylesheet" />
  8. <script src="libs/htmlwidgets-1.5.1/htmlwidgets.js"></script>
  9. <script src="libs/plotly-binding-4.9.1/plotly.js"></script>
  10. <script src="libs/typedarray-0.1/typedarray.min.js"></script>
  11. <script src="libs/jquery-1.11.3/jquery.min.js"></script>
  12. <link href="libs/crosstalk-1.0.0/css/crosstalk.css" rel="stylesheet" />
  13. <script src="libs/crosstalk-1.0.0/js/crosstalk.min.js"></script>
  14. <link href="libs/plotly-htmlwidgets-css-1.49.4/plotly-htmlwidgets.css" rel="stylesheet" />
  15. <script src="libs/plotly-main-1.49.4/plotly-latest.min.js"></script>
  16. <link rel="stylesheet" href="css/my_style.css" type="text/css" />
  17. </head>
  18. <body>
  19. <textarea id="source">
  20. class: center, middle, title
  21. # UE Visualisation
  22. ### 2019-2020
  23. ## Dr. Maxime Wack
  24. ### AHU Informatique médicale
  25. #### Hôpital Européen Georges Pompidou, &lt;/br&gt; Université de Paris
  26. ---
  27. class: center, middle
  28. # Objectif
  29. ## Ajouter de l'**interactivité** à une visualisation
  30. ---
  31. # Interactivité
  32. ## Réactivité
  33. L'objet **réagit** à l'utilisateur, mais n'est pas modifié
  34. ## Interactivité
  35. L'utilisateur peut **influer** sur l'objet &lt;/br&gt;
  36. Un objet peut en **modifier** un autre
  37. ---
  38. class: center
  39. # Outils
  40. ### ggplot2 + ggplotly
  41. ### plotly
  42. ### D3
  43. ### VegaLite
  44. ### Shiny
  45. ---
  46. class: center, middle
  47. # ggplot2 + ggplotly
  48. ---
  49. ### Installer `plotly`
  50. ```r
  51. install.packages("plotly")
  52. ```
  53. ```r
  54. library(tidyverse)
  55. library(plotly)
  56. ```
  57. ---
  58. ```r
  59. iris %&gt;%
  60. ggplot() +
  61. aes(x = Petal.Length, fill = Species) +
  62. geom_histogram() -&gt; plot
  63. ggplotly(plot)
  64. ```
  65. <div id="htmlwidget-34742b7b25b38da920be" style="width:504px;height:504px;" class="plotly html-widget"></div>
  66. <script type="application/json" data-for="htmlwidget-34742b7b25b38da920be">{"x":{"data":[{"orientation":"v","width":[0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069],"base":[0,0,0,0,0,0,0,0,0,0,1,2,2,2,4,8,6,12,8,9,12,4,5,9,7,3,2,1,2,1],"x":[1.01724137931034,1.22068965517241,1.42413793103448,1.62758620689655,1.83103448275862,2.03448275862069,2.23793103448276,2.44137931034483,2.6448275862069,2.84827586206897,3.05172413793103,3.2551724137931,3.45862068965517,3.66206896551724,3.86551724137931,4.06896551724138,4.27241379310345,4.47586206896552,4.67931034482759,4.88275862068966,5.08620689655173,5.28965517241379,5.49310344827586,5.69655172413793,5.9,6.10344827586207,6.30689655172414,6.51034482758621,6.71379310344828,6.91724137931035],"y":[2,9,26,11,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],"text":["count: 2<br />Petal.Length: 1.017241<br />Species: setosa","count: 9<br />Petal.Length: 1.220690<br />Species: setosa","count: 26<br />Petal.Length: 1.424138<br />Species: setosa","count: 11<br />Petal.Length: 1.627586<br />Species: setosa","count: 2<br />Petal.Length: 1.831034<br />Species: setosa","count: 0<br />Petal.Length: 2.034483<br />Species: setosa","count: 0<br />Petal.Length: 2.237931<br />Species: setosa","count: 0<br />Petal.Length: 2.441379<br />Species: setosa","count: 0<br />Petal.Length: 2.644828<br />Species: setosa","count: 0<br />Petal.Length: 2.848276<br />Species: setosa","count: 0<br />Petal.Length: 3.051724<br />Species: setosa","count: 0<br />Petal.Length: 3.255172<br />Species: setosa","count: 0<br />Petal.Length: 3.458621<br />Species: setosa","count: 0<br />Petal.Length: 3.662069<br />Species: setosa","count: 0<br />Petal.Length: 3.865517<br />Species: setosa","count: 0<br />Petal.Length: 4.068966<br />Species: setosa","count: 0<br />Petal.Length: 4.272414<br />Species: setosa","count: 0<br />Petal.Length: 4.475862<br />Species: setosa","count: 0<br />Petal.Length: 4.679310<br />Species: setosa","count: 0<br />Petal.Length: 4.882759<br />Species: setosa","count: 0<br />Petal.Length: 5.086207<br />Species: setosa","count: 0<br />Petal.Length: 5.289655<br />Species: setosa","count: 0<br />Petal.Length: 5.493103<br />Species: setosa","count: 0<br />Petal.Length: 5.696552<br />Species: setosa","count: 0<br />Petal.Length: 5.900000<br />Species: setosa","count: 0<br />Petal.Length: 6.103448<br />Species: setosa","count: 0<br />Petal.Length: 6.306897<br />Species: setosa","count: 0<br />Petal.Length: 6.510345<br />Species: setosa","count: 0<br />Petal.Length: 6.713793<br />Species: setosa","count: 0<br />Petal.Length: 6.917241<br />Species: setosa"],"type":"bar","marker":{"autocolorscale":false,"color":"rgba(248,118,109,1)","line":{"width":1.88976377952756,"color":"transparent"}},"name":"setosa","legendgroup":"setosa","showlegend":true,"xaxis":"x","yaxis":"y","hoverinfo":"text","frame":null},{"orientation":"v","width":[0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069],"base":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,5,10,4,5,9,7,3,2,1,2,1],"x":[1.01724137931034,1.22068965517241,1.42413793103448,1.62758620689655,1.83103448275862,2.03448275862069,2.23793103448276,2.44137931034483,2.6448275862069,2.84827586206897,3.05172413793103,3.2551724137931,3.45862068965517,3.66206896551724,3.86551724137931,4.06896551724138,4.27241379310345,4.47586206896552,4.67931034482759,4.88275862068966,5.08620689655173,5.28965517241379,5.49310344827586,5.69655172413793,5.9,6.10344827586207,6.30689655172414,6.51034482758621,6.71379310344828,6.91724137931035],"y":[0,0,0,0,0,0,0,0,0,0,1,2,2,2,4,8,6,11,8,4,2,0,0,0,0,0,0,0,0,0],"text":["count: 0<br />Petal.Length: 1.017241<br />Species: versicolor","count: 0<br />Petal.Length: 1.220690<br />Species: versicolor","count: 0<br />Petal.Length: 1.424138<br />Species: versicolor","count: 0<br />Petal.Length: 1.627586<br />Species: versicolor","count: 0<br />Petal.Length: 1.831034<br />Species: versicolor","count: 0<br />Petal.Length: 2.034483<br />Species: versicolor","count: 0<br />Petal.Length: 2.237931<br />Species: versicolor","count: 0<br />Petal.Length: 2.441379<br />Species: versicolor","count: 0<br />Petal.Length: 2.644828<br />Species: versicolor","count: 0<br />Petal.Length: 2.848276<br />Species: versicolor","count: 1<br />Petal.Length: 3.051724<br />Species: versicolor","count: 2<br />Petal.Length: 3.255172<br />Species: versicolor","count: 2<br />Petal.Length: 3.458621<br />Species: versicolor","count: 2<br />Petal.Length: 3.662069<br />Species: versicolor","count: 4<br />Petal.Length: 3.865517<br />Species: versicolor","count: 8<br />Petal.Length: 4.068966<br />Species: versicolor","count: 6<br />Petal.Length: 4.272414<br />Species: versicolor","count: 11<br />Petal.Length: 4.475862<br />Species: versicolor","count: 8<br />Petal.Length: 4.679310<br />Species: versicolor","count: 4<br />Petal.Length: 4.882759<br />Species: versicolor","count: 2<br />Petal.Length: 5.086207<br />Species: versicolor","count: 0<br />Petal.Length: 5.289655<br />Species: versicolor","count: 0<br />Petal.Length: 5.493103<br />Species: versicolor","count: 0<br />Petal.Length: 5.696552<br />Species: versicolor","count: 0<br />Petal.Length: 5.900000<br />Species: versicolor","count: 0<br />Petal.Length: 6.103448<br />Species: versicolor","count: 0<br />Petal.Length: 6.306897<br />Species: versicolor","count: 0<br />Petal.Length: 6.510345<br />Species: versicolor","count: 0<br />Petal.Length: 6.713793<br />Species: versicolor","count: 0<br />Petal.Length: 6.917241<br />Species: versicolor"],"type":"bar","marker":{"autocolorscale":false,"color":"rgba(0,186,56,1)","line":{"width":1.88976377952756,"color":"transparent"}},"name":"versicolor","legendgroup":"versicolor","showlegend":true,"xaxis":"x","yaxis":"y","hoverinfo":"text","frame":null},{"orientation":"v","width":[0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069],"base":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],"x":[1.01724137931034,1.22068965517241,1.42413793103448,1.62758620689655,1.83103448275862,2.03448275862069,2.23793103448276,2.44137931034483,2.6448275862069,2.84827586206897,3.05172413793103,3.2551724137931,3.45862068965517,3.66206896551724,3.86551724137931,4.06896551724138,4.27241379310345,4.47586206896552,4.67931034482759,4.88275862068966,5.08620689655173,5.28965517241379,5.49310344827586,5.69655172413793,5.9,6.10344827586207,6.30689655172414,6.51034482758621,6.71379310344828,6.91724137931035],"y":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,5,10,4,5,9,7,3,2,1,2,1],"text":["count: 0<br />Petal.Length: 1.017241<br />Species: virginica","count: 0<br />Petal.Length: 1.220690<br />Species: virginica","count: 0<br />Petal.Length: 1.424138<br />Species: virginica","count: 0<br />Petal.Length: 1.627586<br />Species: virginica","count: 0<br />Petal.Length: 1.831034<br />Species: virginica","count: 0<br />Petal.Length: 2.034483<br />Species: virginica","count: 0<br />Petal.Length: 2.237931<br />Species: virginica","count: 0<br />Petal.Length: 2.441379<br />Species: virginica","count: 0<br />Petal.Length: 2.644828<br />Species: virginica","count: 0<br />Petal.Length: 2.848276<br />Species: virginica","count: 0<br />Petal.Length: 3.051724<br />Species: virginica","count: 0<br />Petal.Length: 3.255172<br />Species: virginica","count: 0<br />Petal.Length: 3.458621<br />Species: virginica","count: 0<br />Petal.Length: 3.662069<br />Species: virginica","count: 0<br />Petal.Length: 3.865517<br />Species: virginica","count: 0<br />Petal.Length: 4.068966<br />Species: virginica","count: 0<br />Petal.Length: 4.272414<br />Species: virginica","count: 1<br />Petal.Length: 4.475862<br />Species: virginica","count: 0<br />Petal.Length: 4.679310<br />Species: virginica","count: 5<br />Petal.Length: 4.882759<br />Species: virginica","count: 10<br />Petal.Length: 5.086207<br />Species: virginica","count: 4<br />Petal.Length: 5.289655<br />Species: virginica","count: 5<br />Petal.Length: 5.493103<br />Species: virginica","count: 9<br />Petal.Length: 5.696552<br />Species: virginica","count: 7<br />Petal.Length: 5.900000<br />Species: virginica","count: 3<br />Petal.Length: 6.103448<br />Species: virginica","count: 2<br />Petal.Length: 6.306897<br />Species: virginica","count: 1<br />Petal.Length: 6.510345<br />Species: virginica","count: 2<br />Petal.Length: 6.713793<br />Species: virginica","count: 1<br />Petal.Length: 6.917241<br />Species: virginica"],"type":"bar","marker":{"autocolorscale":false,"color":"rgba(97,156,255,1)","line":{"width":1.88976377952756,"color":"transparent"}},"name":"virginica","legendgroup":"virginica","showlegend":true,"xaxis":"x","yaxis":"y","hoverinfo":"text","frame":null}],"layout":{"margin":{"t":23.3059360730594,"r":7.30593607305936,"b":37.2602739726027,"l":37.2602739726027},"plot_bgcolor":"rgba(235,235,235,1)","paper_bgcolor":"rgba(255,255,255,1)","font":{"color":"rgba(0,0,0,1)","family":"","size":14.6118721461187},"xaxis":{"domain":[0,1],"automargin":true,"type":"linear","autorange":false,"range":[0.610344827586207,7.32413793103448],"tickmode":"array","ticktext":["2","4","6"],"tickvals":[2,4,6],"categoryorder":"array","categoryarray":["2","4","6"],"nticks":null,"ticks":"outside","tickcolor":"rgba(51,51,51,1)","ticklen":3.65296803652968,"tickwidth":0.66417600664176,"showticklabels":true,"tickfont":{"color":"rgba(77,77,77,1)","family":"","size":11.689497716895},"tickangle":-0,"showline":false,"linecolor":null,"linewidth":0,"showgrid":true,"gridcolor":"rgba(255,255,255,1)","gridwidth":0.66417600664176,"zeroline":false,"anchor":"y","title":{"text":"Petal.Length","font":{"color":"rgba(0,0,0,1)","family":"","size":14.6118721461187}},"hoverformat":".2f"},"yaxis":{"domain":[0,1],"automargin":true,"type":"linear","autorange":false,"range":[-1.3,27.3],"tickmode":"array","ticktext":["0","10","20"],"tickvals":[0,10,20],"categoryorder":"array","categoryarray":["0","10","20"],"nticks":null,"ticks":"outside","tickcolor":"rgba(51,51,51,1)","ticklen":3.65296803652968,"tickwidth":0.66417600664176,"showticklabels":true,"tickfont":{"color":"rgba(77,77,77,1)","family":"","size":11.689497716895},"tickangle":-0,"showline":false,"linecolor":null,"linewidth":0,"showgrid":true,"gridcolor":"rgba(255,255,255,1)","gridwidth":0.66417600664176,"zeroline":false,"anchor":"x","title":{"text":"count","font":{"color":"rgba(0,0,0,1)","family":"","size":14.6118721461187}},"hoverformat":".2f"},"shapes":[{"type":"rect","fillcolor":null,"line":{"color":null,"width":0,"linetype":[]},"yref":"paper","xref":"paper","x0":0,"x1":1,"y0":0,"y1":1}],"showlegend":true,"legend":{"bgcolor":"rgba(255,255,255,1)","bordercolor":"transparent","borderwidth":1.88976377952756,"font":{"color":"rgba(0,0,0,1)","family":"","size":11.689497716895},"y":0.938132733408324},"annotations":[{"text":"Species","x":1.02,"y":1,"showarrow":false,"ax":0,"ay":0,"font":{"color":"rgba(0,0,0,1)","family":"","size":14.6118721461187},"xref":"paper","yref":"paper","textangle":-0,"xanchor":"left","yanchor":"bottom","legendTitle":true}],"hovermode":"closest","barmode":"relative"},"config":{"doubleClick":"reset","showSendToCloud":false},"source":"A","attrs":{"3a60c47e47fe5":{"x":{},"fill":{},"type":"bar"}},"cur_data":"3a60c47e47fe5","visdat":{"3a60c47e47fe5":["function (y) ","x"]},"highlight":{"on":"plotly_click","persistent":false,"dynamic":false,"selectize":false,"opacityDim":0.2,"selected":{"opacity":1},"debounce":0},"shinyEvents":["plotly_hover","plotly_click","plotly_selected","plotly_relayout","plotly_brushed","plotly_brushing","plotly_clickannotation","plotly_doubleclick","plotly_deselect","plotly_afterplot","plotly_sunburstclick"],"base_url":"https://plot.ly"},"evals":[],"jsHooks":[]}</script>
  67. ---
  68. ```r
  69. (iris %&gt;%
  70. ggplot() +
  71. aes(x = Petal.Length, y = Petal.Width, color = Species) +
  72. geom_point()) %&gt;%
  73. ggplotly
  74. ```
  75. <div id="htmlwidget-0898a36473098b85b248" style="width:504px;height:504px;" class="plotly html-widget"></div>
  76. <script type="application/json" data-for="htmlwidget-0898a36473098b85b248">{"x":{"data":[{"x":[1.4,1.4,1.3,1.5,1.4,1.7,1.4,1.5,1.4,1.5,1.5,1.6,1.4,1.1,1.2,1.5,1.3,1.4,1.7,1.5,1.7,1.5,1,1.7,1.9,1.6,1.6,1.5,1.4,1.6,1.6,1.5,1.5,1.4,1.5,1.2,1.3,1.4,1.3,1.5,1.3,1.3,1.3,1.6,1.9,1.4,1.6,1.4,1.5,1.4],"y":[0.2,0.2,0.2,0.2,0.2,0.4,0.3,0.2,0.2,0.1,0.2,0.2,0.1,0.1,0.2,0.4,0.4,0.3,0.3,0.3,0.2,0.4,0.2,0.5,0.2,0.2,0.4,0.2,0.2,0.2,0.2,0.4,0.1,0.2,0.2,0.2,0.2,0.1,0.2,0.2,0.3,0.3,0.2,0.6,0.4,0.3,0.2,0.2,0.2,0.2],"text":["Petal.Length: 1.4<br />Petal.Width: 0.2<br />Species: setosa","Petal.Length: 1.4<br />Petal.Width: 0.2<br />Species: setosa","Petal.Length: 1.3<br />Petal.Width: 0.2<br />Species: setosa","Petal.Length: 1.5<br />Petal.Width: 0.2<br />Species: setosa","Petal.Length: 1.4<br />Petal.Width: 0.2<br />Species: setosa","Petal.Length: 1.7<br />Petal.Width: 0.4<br />Species: setosa","Petal.Length: 1.4<br />Petal.Width: 0.3<br />Species: setosa","Petal.Length: 1.5<br />Petal.Width: 0.2<br />Species: setosa","Petal.Length: 1.4<br />Petal.Width: 0.2<br />Species: setosa","Petal.Length: 1.5<br />Petal.Width: 0.1<br />Species: setosa","Petal.Length: 1.5<br />Petal.Width: 0.2<br />Species: setosa","Petal.Length: 1.6<br />Petal.Width: 0.2<br />Species: setosa","Petal.Length: 1.4<br />Petal.Width: 0.1<br />Species: setosa","Petal.Length: 1.1<br />Petal.Width: 0.1<br />Species: setosa","Petal.Length: 1.2<br />Petal.Width: 0.2<br />Species: setosa","Petal.Length: 1.5<br />Petal.Width: 0.4<br />Species: setosa","Petal.Length: 1.3<br />Petal.Width: 0.4<br />Species: setosa","Petal.Length: 1.4<br />Petal.Width: 0.3<br />Species: setosa","Petal.Length: 1.7<br />Petal.Width: 0.3<br />Species: setosa","Petal.Length: 1.5<br />Petal.Width: 0.3<br />Species: setosa","Petal.Length: 1.7<br />Petal.Width: 0.2<br />Species: setosa","Petal.Length: 1.5<br />Petal.Width: 0.4<br />Species: setosa","Petal.Length: 1.0<br />Petal.Width: 0.2<br />Species: setosa","Petal.Length: 1.7<br />Petal.Width: 0.5<br />Species: setosa","Petal.Length: 1.9<br />Petal.Width: 0.2<br />Species: setosa","Petal.Length: 1.6<br />Petal.Width: 0.2<br />Species: setosa","Petal.Length: 1.6<br />Petal.Width: 0.4<br />Species: setosa","Petal.Length: 1.5<br />Petal.Width: 0.2<br />Species: setosa","Petal.Length: 1.4<br />Petal.Width: 0.2<br />Species: setosa","Petal.Length: 1.6<br />Petal.Width: 0.2<br />Species: setosa","Petal.Length: 1.6<br />Petal.Width: 0.2<br />Species: setosa","Petal.Length: 1.5<br />Petal.Width: 0.4<br />Species: setosa","Petal.Length: 1.5<br />Petal.Width: 0.1<br />Species: setosa","Petal.Length: 1.4<br />Petal.Width: 0.2<br />Species: setosa","Petal.Length: 1.5<br />Petal.Width: 0.2<br />Species: setosa","Petal.Length: 1.2<br />Petal.Width: 0.2<br />Species: setosa","Petal.Length: 1.3<br />Petal.Width: 0.2<br />Species: setosa","Petal.Length: 1.4<br />Petal.Width: 0.1<br />Species: setosa","Petal.Length: 1.3<br />Petal.Width: 0.2<br />Species: setosa","Petal.Length: 1.5<br />Petal.Width: 0.2<br />Species: setosa","Petal.Length: 1.3<br />Petal.Width: 0.3<br />Species: setosa","Petal.Length: 1.3<br />Petal.Width: 0.3<br />Species: setosa","Petal.Length: 1.3<br />Petal.Width: 0.2<br />Species: setosa","Petal.Length: 1.6<br />Petal.Width: 0.6<br />Species: setosa","Petal.Length: 1.9<br />Petal.Width: 0.4<br />Species: setosa","Petal.Length: 1.4<br />Petal.Width: 0.3<br />Species: setosa","Petal.Length: 1.6<br />Petal.Width: 0.2<br />Species: setosa","Petal.Length: 1.4<br />Petal.Width: 0.2<br />Species: setosa","Petal.Length: 1.5<br />Petal.Width: 0.2<br />Species: setosa","Petal.Length: 1.4<br />Petal.Width: 0.2<br />Species: setosa"],"type":"scatter","mode":"markers","marker":{"autocolorscale":false,"color":"rgba(248,118,109,1)","opacity":1,"size":5.66929133858268,"symbol":"circle","line":{"width":1.88976377952756,"color":"rgba(248,118,109,1)"}},"hoveron":"points","name":"setosa","legendgroup":"setosa","showlegend":true,"xaxis":"x","yaxis":"y","hoverinfo":"text","frame":null},{"x":[4.7,4.5,4.9,4,4.6,4.5,4.7,3.3,4.6,3.9,3.5,4.2,4,4.7,3.6,4.4,4.5,4.1,4.5,3.9,4.8,4,4.9,4.7,4.3,4.4,4.8,5,4.5,3.5,3.8,3.7,3.9,5.1,4.5,4.5,4.7,4.4,4.1,4,4.4,4.6,4,3.3,4.2,4.2,4.2,4.3,3,4.1],"y":[1.4,1.5,1.5,1.3,1.5,1.3,1.6,1,1.3,1.4,1,1.5,1,1.4,1.3,1.4,1.5,1,1.5,1.1,1.8,1.3,1.5,1.2,1.3,1.4,1.4,1.7,1.5,1,1.1,1,1.2,1.6,1.5,1.6,1.5,1.3,1.3,1.3,1.2,1.4,1.2,1,1.3,1.2,1.3,1.3,1.1,1.3],"text":["Petal.Length: 4.7<br />Petal.Width: 1.4<br />Species: versicolor","Petal.Length: 4.5<br />Petal.Width: 1.5<br />Species: versicolor","Petal.Length: 4.9<br />Petal.Width: 1.5<br />Species: versicolor","Petal.Length: 4.0<br />Petal.Width: 1.3<br />Species: versicolor","Petal.Length: 4.6<br />Petal.Width: 1.5<br />Species: versicolor","Petal.Length: 4.5<br />Petal.Width: 1.3<br />Species: versicolor","Petal.Length: 4.7<br />Petal.Width: 1.6<br />Species: versicolor","Petal.Length: 3.3<br />Petal.Width: 1.0<br />Species: versicolor","Petal.Length: 4.6<br />Petal.Width: 1.3<br />Species: versicolor","Petal.Length: 3.9<br />Petal.Width: 1.4<br />Species: versicolor","Petal.Length: 3.5<br />Petal.Width: 1.0<br />Species: versicolor","Petal.Length: 4.2<br />Petal.Width: 1.5<br />Species: versicolor","Petal.Length: 4.0<br />Petal.Width: 1.0<br />Species: versicolor","Petal.Length: 4.7<br />Petal.Width: 1.4<br />Species: versicolor","Petal.Length: 3.6<br />Petal.Width: 1.3<br />Species: versicolor","Petal.Length: 4.4<br />Petal.Width: 1.4<br />Species: versicolor","Petal.Length: 4.5<br />Petal.Width: 1.5<br />Species: versicolor","Petal.Length: 4.1<br />Petal.Width: 1.0<br />Species: versicolor","Petal.Length: 4.5<br />Petal.Width: 1.5<br />Species: versicolor","Petal.Length: 3.9<br />Petal.Width: 1.1<br />Species: versicolor","Petal.Length: 4.8<br />Petal.Width: 1.8<br />Species: versicolor","Petal.Length: 4.0<br />Petal.Width: 1.3<br />Species: versicolor","Petal.Length: 4.9<br />Petal.Width: 1.5<br />Species: versicolor","Petal.Length: 4.7<br />Petal.Width: 1.2<br />Species: versicolor","Petal.Length: 4.3<br />Petal.Width: 1.3<br />Species: versicolor","Petal.Length: 4.4<br />Petal.Width: 1.4<br />Species: versicolor","Petal.Length: 4.8<br />Petal.Width: 1.4<br />Species: versicolor","Petal.Length: 5.0<br />Petal.Width: 1.7<br />Species: versicolor","Petal.Length: 4.5<br />Petal.Width: 1.5<br />Species: versicolor","Petal.Length: 3.5<br />Petal.Width: 1.0<br />Species: versicolor","Petal.Length: 3.8<br />Petal.Width: 1.1<br />Species: versicolor","Petal.Length: 3.7<br />Petal.Width: 1.0<br />Species: versicolor","Petal.Length: 3.9<br />Petal.Width: 1.2<br />Species: versicolor","Petal.Length: 5.1<br />Petal.Width: 1.6<br />Species: versicolor","Petal.Length: 4.5<br />Petal.Width: 1.5<br />Species: versicolor","Petal.Length: 4.5<br />Petal.Width: 1.6<br />Species: versicolor","Petal.Length: 4.7<br />Petal.Width: 1.5<br />Species: versicolor","Petal.Length: 4.4<br />Petal.Width: 1.3<br />Species: versicolor","Petal.Length: 4.1<br />Petal.Width: 1.3<br />Species: versicolor","Petal.Length: 4.0<br />Petal.Width: 1.3<br />Species: versicolor","Petal.Length: 4.4<br />Petal.Width: 1.2<br />Species: versicolor","Petal.Length: 4.6<br />Petal.Width: 1.4<br />Species: versicolor","Petal.Length: 4.0<br />Petal.Width: 1.2<br />Species: versicolor","Petal.Length: 3.3<br />Petal.Width: 1.0<br />Species: versicolor","Petal.Length: 4.2<br />Petal.Width: 1.3<br />Species: versicolor","Petal.Length: 4.2<br />Petal.Width: 1.2<br />Species: versicolor","Petal.Length: 4.2<br />Petal.Width: 1.3<br />Species: versicolor","Petal.Length: 4.3<br />Petal.Width: 1.3<br />Species: versicolor","Petal.Length: 3.0<br />Petal.Width: 1.1<br />Species: versicolor","Petal.Length: 4.1<br />Petal.Width: 1.3<br />Species: versicolor"],"type":"scatter","mode":"markers","marker":{"autocolorscale":false,"color":"rgba(0,186,56,1)","opacity":1,"size":5.66929133858268,"symbol":"circle","line":{"width":1.88976377952756,"color":"rgba(0,186,56,1)"}},"hoveron":"points","name":"versicolor","legendgroup":"versicolor","showlegend":true,"xaxis":"x","yaxis":"y","hoverinfo":"text","frame":null},{"x":[6,5.1,5.9,5.6,5.8,6.6,4.5,6.3,5.8,6.1,5.1,5.3,5.5,5,5.1,5.3,5.5,6.7,6.9,5,5.7,4.9,6.7,4.9,5.7,6,4.8,4.9,5.6,5.8,6.1,6.4,5.6,5.1,5.6,6.1,5.6,5.5,4.8,5.4,5.6,5.1,5.1,5.9,5.7,5.2,5,5.2,5.4,5.1],"y":[2.5,1.9,2.1,1.8,2.2,2.1,1.7,1.8,1.8,2.5,2,1.9,2.1,2,2.4,2.3,1.8,2.2,2.3,1.5,2.3,2,2,1.8,2.1,1.8,1.8,1.8,2.1,1.6,1.9,2,2.2,1.5,1.4,2.3,2.4,1.8,1.8,2.1,2.4,2.3,1.9,2.3,2.5,2.3,1.9,2,2.3,1.8],"text":["Petal.Length: 6.0<br />Petal.Width: 2.5<br />Species: virginica","Petal.Length: 5.1<br />Petal.Width: 1.9<br />Species: virginica","Petal.Length: 5.9<br />Petal.Width: 2.1<br />Species: virginica","Petal.Length: 5.6<br />Petal.Width: 1.8<br />Species: virginica","Petal.Length: 5.8<br />Petal.Width: 2.2<br />Species: virginica","Petal.Length: 6.6<br />Petal.Width: 2.1<br />Species: virginica","Petal.Length: 4.5<br />Petal.Width: 1.7<br />Species: virginica","Petal.Length: 6.3<br />Petal.Width: 1.8<br />Species: virginica","Petal.Length: 5.8<br />Petal.Width: 1.8<br />Species: virginica","Petal.Length: 6.1<br />Petal.Width: 2.5<br />Species: virginica","Petal.Length: 5.1<br />Petal.Width: 2.0<br />Species: virginica","Petal.Length: 5.3<br />Petal.Width: 1.9<br />Species: virginica","Petal.Length: 5.5<br />Petal.Width: 2.1<br />Species: virginica","Petal.Length: 5.0<br />Petal.Width: 2.0<br />Species: virginica","Petal.Length: 5.1<br />Petal.Width: 2.4<br />Species: virginica","Petal.Length: 5.3<br />Petal.Width: 2.3<br />Species: virginica","Petal.Length: 5.5<br />Petal.Width: 1.8<br />Species: virginica","Petal.Length: 6.7<br />Petal.Width: 2.2<br />Species: virginica","Petal.Length: 6.9<br />Petal.Width: 2.3<br />Species: virginica","Petal.Length: 5.0<br />Petal.Width: 1.5<br />Species: virginica","Petal.Length: 5.7<br />Petal.Width: 2.3<br />Species: virginica","Petal.Length: 4.9<br />Petal.Width: 2.0<br />Species: virginica","Petal.Length: 6.7<br />Petal.Width: 2.0<br />Species: virginica","Petal.Length: 4.9<br />Petal.Width: 1.8<br />Species: virginica","Petal.Length: 5.7<br />Petal.Width: 2.1<br />Species: virginica","Petal.Length: 6.0<br />Petal.Width: 1.8<br />Species: virginica","Petal.Length: 4.8<br />Petal.Width: 1.8<br />Species: virginica","Petal.Length: 4.9<br />Petal.Width: 1.8<br />Species: virginica","Petal.Length: 5.6<br />Petal.Width: 2.1<br />Species: virginica","Petal.Length: 5.8<br />Petal.Width: 1.6<br />Species: virginica","Petal.Length: 6.1<br />Petal.Width: 1.9<br />Species: virginica","Petal.Length: 6.4<br />Petal.Width: 2.0<br />Species: virginica","Petal.Length: 5.6<br />Petal.Width: 2.2<br />Species: virginica","Petal.Length: 5.1<br />Petal.Width: 1.5<br />Species: virginica","Petal.Length: 5.6<br />Petal.Width: 1.4<br />Species: virginica","Petal.Length: 6.1<br />Petal.Width: 2.3<br />Species: virginica","Petal.Length: 5.6<br />Petal.Width: 2.4<br />Species: virginica","Petal.Length: 5.5<br />Petal.Width: 1.8<br />Species: virginica","Petal.Length: 4.8<br />Petal.Width: 1.8<br />Species: virginica","Petal.Length: 5.4<br />Petal.Width: 2.1<br />Species: virginica","Petal.Length: 5.6<br />Petal.Width: 2.4<br />Species: virginica","Petal.Length: 5.1<br />Petal.Width: 2.3<br />Species: virginica","Petal.Length: 5.1<br />Petal.Width: 1.9<br />Species: virginica","Petal.Length: 5.9<br />Petal.Width: 2.3<br />Species: virginica","Petal.Length: 5.7<br />Petal.Width: 2.5<br />Species: virginica","Petal.Length: 5.2<br />Petal.Width: 2.3<br />Species: virginica","Petal.Length: 5.0<br />Petal.Width: 1.9<br />Species: virginica","Petal.Length: 5.2<br />Petal.Width: 2.0<br />Species: virginica","Petal.Length: 5.4<br />Petal.Width: 2.3<br />Species: virginica","Petal.Length: 5.1<br />Petal.Width: 1.8<br />Species: virginica"],"type":"scatter","mode":"markers","marker":{"autocolorscale":false,"color":"rgba(97,156,255,1)","opacity":1,"size":5.66929133858268,"symbol":"circle","line":{"width":1.88976377952756,"color":"rgba(97,156,255,1)"}},"hoveron":"points","name":"virginica","legendgroup":"virginica","showlegend":true,"xaxis":"x","yaxis":"y","hoverinfo":"text","frame":null}],"layout":{"margin":{"t":23.3059360730594,"r":7.30593607305936,"b":37.2602739726027,"l":43.1050228310502},"plot_bgcolor":"rgba(235,235,235,1)","paper_bgcolor":"rgba(255,255,255,1)","font":{"color":"rgba(0,0,0,1)","family":"","size":14.6118721461187},"xaxis":{"domain":[0,1],"automargin":true,"type":"linear","autorange":false,"range":[0.705,7.195],"tickmode":"array","ticktext":["2","4","6"],"tickvals":[2,4,6],"categoryorder":"array","categoryarray":["2","4","6"],"nticks":null,"ticks":"outside","tickcolor":"rgba(51,51,51,1)","ticklen":3.65296803652968,"tickwidth":0.66417600664176,"showticklabels":true,"tickfont":{"color":"rgba(77,77,77,1)","family":"","size":11.689497716895},"tickangle":-0,"showline":false,"linecolor":null,"linewidth":0,"showgrid":true,"gridcolor":"rgba(255,255,255,1)","gridwidth":0.66417600664176,"zeroline":false,"anchor":"y","title":{"text":"Petal.Length","font":{"color":"rgba(0,0,0,1)","family":"","size":14.6118721461187}},"hoverformat":".2f"},"yaxis":{"domain":[0,1],"automargin":true,"type":"linear","autorange":false,"range":[-0.02,2.62],"tickmode":"array","ticktext":["0.0","0.5","1.0","1.5","2.0","2.5"],"tickvals":[0,0.5,1,1.5,2,2.5],"categoryorder":"array","categoryarray":["0.0","0.5","1.0","1.5","2.0","2.5"],"nticks":null,"ticks":"outside","tickcolor":"rgba(51,51,51,1)","ticklen":3.65296803652968,"tickwidth":0.66417600664176,"showticklabels":true,"tickfont":{"color":"rgba(77,77,77,1)","family":"","size":11.689497716895},"tickangle":-0,"showline":false,"linecolor":null,"linewidth":0,"showgrid":true,"gridcolor":"rgba(255,255,255,1)","gridwidth":0.66417600664176,"zeroline":false,"anchor":"x","title":{"text":"Petal.Width","font":{"color":"rgba(0,0,0,1)","family":"","size":14.6118721461187}},"hoverformat":".2f"},"shapes":[{"type":"rect","fillcolor":null,"line":{"color":null,"width":0,"linetype":[]},"yref":"paper","xref":"paper","x0":0,"x1":1,"y0":0,"y1":1}],"showlegend":true,"legend":{"bgcolor":"rgba(255,255,255,1)","bordercolor":"transparent","borderwidth":1.88976377952756,"font":{"color":"rgba(0,0,0,1)","family":"","size":11.689497716895},"y":0.938132733408324},"annotations":[{"text":"Species","x":1.02,"y":1,"showarrow":false,"ax":0,"ay":0,"font":{"color":"rgba(0,0,0,1)","family":"","size":14.6118721461187},"xref":"paper","yref":"paper","textangle":-0,"xanchor":"left","yanchor":"bottom","legendTitle":true}],"hovermode":"closest","barmode":"relative"},"config":{"doubleClick":"reset","showSendToCloud":false},"source":"A","attrs":{"3a60c2a1ac375":{"x":{},"y":{},"colour":{},"type":"scatter"}},"cur_data":"3a60c2a1ac375","visdat":{"3a60c2a1ac375":["function (y) ","x"]},"highlight":{"on":"plotly_click","persistent":false,"dynamic":false,"selectize":false,"opacityDim":0.2,"selected":{"opacity":1},"debounce":0},"shinyEvents":["plotly_hover","plotly_click","plotly_selected","plotly_relayout","plotly_brushed","plotly_brushing","plotly_clickannotation","plotly_doubleclick","plotly_deselect","plotly_afterplot","plotly_sunburstclick"],"base_url":"https://plot.ly"},"evals":[],"jsHooks":[]}</script>
  77. ---
  78. ```r
  79. iris %&gt;%
  80. ggplot() +
  81. geom_histogram(data = iris %&gt;% select(-Species), aes(x = Petal.Length)) +
  82. geom_histogram(aes(x = Petal.Length, fill = Species)) +
  83. facet_grid(~Species) -&gt; plot
  84. ggplotly(plot)
  85. ```
  86. <div id="htmlwidget-64cd5f2cb7c6bea84ec9" style="width:504px;height:504px;" class="plotly html-widget"></div>
  87. <script type="application/json" data-for="htmlwidget-64cd5f2cb7c6bea84ec9">{"x":{"data":[{"orientation":"v","width":[0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069],"base":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],"x":[1.01724137931034,1.22068965517241,1.42413793103448,1.62758620689655,1.83103448275862,2.03448275862069,2.23793103448276,2.44137931034483,2.6448275862069,2.84827586206897,3.05172413793103,3.2551724137931,3.45862068965517,3.66206896551724,3.86551724137931,4.06896551724138,4.27241379310345,4.47586206896552,4.67931034482759,4.88275862068966,5.08620689655173,5.28965517241379,5.49310344827586,5.69655172413793,5.9,6.10344827586207,6.30689655172414,6.51034482758621,6.71379310344828,6.91724137931035],"y":[2,9,26,11,2,0,0,0,0,0,1,2,2,2,4,8,6,12,8,9,12,4,5,9,7,3,2,1,2,1],"text":["Petal.Length: 1.017241<br />count: 2","Petal.Length: 1.220690<br />count: 9","Petal.Length: 1.424138<br />count: 26","Petal.Length: 1.627586<br />count: 11","Petal.Length: 1.831034<br />count: 2","Petal.Length: 2.034483<br />count: 0","Petal.Length: 2.237931<br />count: 0","Petal.Length: 2.441379<br />count: 0","Petal.Length: 2.644828<br />count: 0","Petal.Length: 2.848276<br />count: 0","Petal.Length: 3.051724<br />count: 1","Petal.Length: 3.255172<br />count: 2","Petal.Length: 3.458621<br />count: 2","Petal.Length: 3.662069<br />count: 2","Petal.Length: 3.865517<br />count: 4","Petal.Length: 4.068966<br />count: 8","Petal.Length: 4.272414<br />count: 6","Petal.Length: 4.475862<br />count: 12","Petal.Length: 4.679310<br />count: 8","Petal.Length: 4.882759<br />count: 9","Petal.Length: 5.086207<br />count: 12","Petal.Length: 5.289655<br />count: 4","Petal.Length: 5.493103<br />count: 5","Petal.Length: 5.696552<br />count: 9","Petal.Length: 5.900000<br />count: 7","Petal.Length: 6.103448<br />count: 3","Petal.Length: 6.306897<br />count: 2","Petal.Length: 6.510345<br />count: 1","Petal.Length: 6.713793<br />count: 2","Petal.Length: 6.917241<br />count: 1"],"type":"bar","marker":{"autocolorscale":false,"color":"rgba(89,89,89,1)","line":{"width":1.88976377952756,"color":"transparent"}},"showlegend":false,"xaxis":"x","yaxis":"y","hoverinfo":"text","frame":null},{"orientation":"v","width":[0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069],"base":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],"x":[1.01724137931034,1.22068965517241,1.42413793103448,1.62758620689655,1.83103448275862,2.03448275862069,2.23793103448276,2.44137931034483,2.6448275862069,2.84827586206897,3.05172413793103,3.2551724137931,3.45862068965517,3.66206896551724,3.86551724137931,4.06896551724138,4.27241379310345,4.47586206896552,4.67931034482759,4.88275862068966,5.08620689655173,5.28965517241379,5.49310344827586,5.69655172413793,5.9,6.10344827586207,6.30689655172414,6.51034482758621,6.71379310344828,6.91724137931035],"y":[2,9,26,11,2,0,0,0,0,0,1,2,2,2,4,8,6,12,8,9,12,4,5,9,7,3,2,1,2,1],"text":["Petal.Length: 1.017241<br />count: 2","Petal.Length: 1.220690<br />count: 9","Petal.Length: 1.424138<br />count: 26","Petal.Length: 1.627586<br />count: 11","Petal.Length: 1.831034<br />count: 2","Petal.Length: 2.034483<br />count: 0","Petal.Length: 2.237931<br />count: 0","Petal.Length: 2.441379<br />count: 0","Petal.Length: 2.644828<br />count: 0","Petal.Length: 2.848276<br />count: 0","Petal.Length: 3.051724<br />count: 1","Petal.Length: 3.255172<br />count: 2","Petal.Length: 3.458621<br />count: 2","Petal.Length: 3.662069<br />count: 2","Petal.Length: 3.865517<br />count: 4","Petal.Length: 4.068966<br />count: 8","Petal.Length: 4.272414<br />count: 6","Petal.Length: 4.475862<br />count: 12","Petal.Length: 4.679310<br />count: 8","Petal.Length: 4.882759<br />count: 9","Petal.Length: 5.086207<br />count: 12","Petal.Length: 5.289655<br />count: 4","Petal.Length: 5.493103<br />count: 5","Petal.Length: 5.696552<br />count: 9","Petal.Length: 5.900000<br />count: 7","Petal.Length: 6.103448<br />count: 3","Petal.Length: 6.306897<br />count: 2","Petal.Length: 6.510345<br />count: 1","Petal.Length: 6.713793<br />count: 2","Petal.Length: 6.917241<br />count: 1"],"type":"bar","marker":{"autocolorscale":false,"color":"rgba(89,89,89,1)","line":{"width":1.88976377952756,"color":"transparent"}},"showlegend":false,"xaxis":"x2","yaxis":"y","hoverinfo":"text","frame":null},{"orientation":"v","width":[0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069],"base":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],"x":[1.01724137931034,1.22068965517241,1.42413793103448,1.62758620689655,1.83103448275862,2.03448275862069,2.23793103448276,2.44137931034483,2.6448275862069,2.84827586206897,3.05172413793103,3.2551724137931,3.45862068965517,3.66206896551724,3.86551724137931,4.06896551724138,4.27241379310345,4.47586206896552,4.67931034482759,4.88275862068966,5.08620689655173,5.28965517241379,5.49310344827586,5.69655172413793,5.9,6.10344827586207,6.30689655172414,6.51034482758621,6.71379310344828,6.91724137931035],"y":[2,9,26,11,2,0,0,0,0,0,1,2,2,2,4,8,6,12,8,9,12,4,5,9,7,3,2,1,2,1],"text":["Petal.Length: 1.017241<br />count: 2","Petal.Length: 1.220690<br />count: 9","Petal.Length: 1.424138<br />count: 26","Petal.Length: 1.627586<br />count: 11","Petal.Length: 1.831034<br />count: 2","Petal.Length: 2.034483<br />count: 0","Petal.Length: 2.237931<br />count: 0","Petal.Length: 2.441379<br />count: 0","Petal.Length: 2.644828<br />count: 0","Petal.Length: 2.848276<br />count: 0","Petal.Length: 3.051724<br />count: 1","Petal.Length: 3.255172<br />count: 2","Petal.Length: 3.458621<br />count: 2","Petal.Length: 3.662069<br />count: 2","Petal.Length: 3.865517<br />count: 4","Petal.Length: 4.068966<br />count: 8","Petal.Length: 4.272414<br />count: 6","Petal.Length: 4.475862<br />count: 12","Petal.Length: 4.679310<br />count: 8","Petal.Length: 4.882759<br />count: 9","Petal.Length: 5.086207<br />count: 12","Petal.Length: 5.289655<br />count: 4","Petal.Length: 5.493103<br />count: 5","Petal.Length: 5.696552<br />count: 9","Petal.Length: 5.900000<br />count: 7","Petal.Length: 6.103448<br />count: 3","Petal.Length: 6.306897<br />count: 2","Petal.Length: 6.510345<br />count: 1","Petal.Length: 6.713793<br />count: 2","Petal.Length: 6.917241<br />count: 1"],"type":"bar","marker":{"autocolorscale":false,"color":"rgba(89,89,89,1)","line":{"width":1.88976377952756,"color":"transparent"}},"showlegend":false,"xaxis":"x3","yaxis":"y","hoverinfo":"text","frame":null},{"orientation":"v","width":[0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069],"base":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],"x":[1.01724137931034,1.22068965517241,1.42413793103448,1.62758620689655,1.83103448275862,2.03448275862069,2.23793103448276,2.44137931034483,2.6448275862069,2.84827586206897,3.05172413793103,3.2551724137931,3.45862068965517,3.66206896551724,3.86551724137931,4.06896551724138,4.27241379310345,4.47586206896552,4.67931034482759,4.88275862068966,5.08620689655173,5.28965517241379,5.49310344827586,5.69655172413793,5.9,6.10344827586207,6.30689655172414,6.51034482758621,6.71379310344828,6.91724137931035],"y":[2,9,26,11,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],"text":["Petal.Length: 1.017241<br />Species: setosa<br />count: 2","Petal.Length: 1.220690<br />Species: setosa<br />count: 9","Petal.Length: 1.424138<br />Species: setosa<br />count: 26","Petal.Length: 1.627586<br />Species: setosa<br />count: 11","Petal.Length: 1.831034<br />Species: setosa<br />count: 2","Petal.Length: 2.034483<br />Species: setosa<br />count: 0","Petal.Length: 2.237931<br />Species: setosa<br />count: 0","Petal.Length: 2.441379<br />Species: setosa<br />count: 0","Petal.Length: 2.644828<br />Species: setosa<br />count: 0","Petal.Length: 2.848276<br />Species: setosa<br />count: 0","Petal.Length: 3.051724<br />Species: setosa<br />count: 0","Petal.Length: 3.255172<br />Species: setosa<br />count: 0","Petal.Length: 3.458621<br />Species: setosa<br />count: 0","Petal.Length: 3.662069<br />Species: setosa<br />count: 0","Petal.Length: 3.865517<br />Species: setosa<br />count: 0","Petal.Length: 4.068966<br />Species: setosa<br />count: 0","Petal.Length: 4.272414<br />Species: setosa<br />count: 0","Petal.Length: 4.475862<br />Species: setosa<br />count: 0","Petal.Length: 4.679310<br />Species: setosa<br />count: 0","Petal.Length: 4.882759<br />Species: setosa<br />count: 0","Petal.Length: 5.086207<br />Species: setosa<br />count: 0","Petal.Length: 5.289655<br />Species: setosa<br />count: 0","Petal.Length: 5.493103<br />Species: setosa<br />count: 0","Petal.Length: 5.696552<br />Species: setosa<br />count: 0","Petal.Length: 5.900000<br />Species: setosa<br />count: 0","Petal.Length: 6.103448<br />Species: setosa<br />count: 0","Petal.Length: 6.306897<br />Species: setosa<br />count: 0","Petal.Length: 6.510345<br />Species: setosa<br />count: 0","Petal.Length: 6.713793<br />Species: setosa<br />count: 0","Petal.Length: 6.917241<br />Species: setosa<br />count: 0"],"type":"bar","marker":{"autocolorscale":false,"color":"rgba(248,118,109,1)","line":{"width":1.88976377952756,"color":"transparent"}},"name":"setosa","legendgroup":"setosa","showlegend":true,"xaxis":"x","yaxis":"y","hoverinfo":"text","frame":null},{"orientation":"v","width":[0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069],"base":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],"x":[1.01724137931034,1.22068965517241,1.42413793103448,1.62758620689655,1.83103448275862,2.03448275862069,2.23793103448276,2.44137931034483,2.6448275862069,2.84827586206897,3.05172413793103,3.2551724137931,3.45862068965517,3.66206896551724,3.86551724137931,4.06896551724138,4.27241379310345,4.47586206896552,4.67931034482759,4.88275862068966,5.08620689655173,5.28965517241379,5.49310344827586,5.69655172413793,5.9,6.10344827586207,6.30689655172414,6.51034482758621,6.71379310344828,6.91724137931035],"y":[0,0,0,0,0,0,0,0,0,0,1,2,2,2,4,8,6,11,8,4,2,0,0,0,0,0,0,0,0,0],"text":["Petal.Length: 1.017241<br />Species: versicolor<br />count: 0","Petal.Length: 1.220690<br />Species: versicolor<br />count: 0","Petal.Length: 1.424138<br />Species: versicolor<br />count: 0","Petal.Length: 1.627586<br />Species: versicolor<br />count: 0","Petal.Length: 1.831034<br />Species: versicolor<br />count: 0","Petal.Length: 2.034483<br />Species: versicolor<br />count: 0","Petal.Length: 2.237931<br />Species: versicolor<br />count: 0","Petal.Length: 2.441379<br />Species: versicolor<br />count: 0","Petal.Length: 2.644828<br />Species: versicolor<br />count: 0","Petal.Length: 2.848276<br />Species: versicolor<br />count: 0","Petal.Length: 3.051724<br />Species: versicolor<br />count: 1","Petal.Length: 3.255172<br />Species: versicolor<br />count: 2","Petal.Length: 3.458621<br />Species: versicolor<br />count: 2","Petal.Length: 3.662069<br />Species: versicolor<br />count: 2","Petal.Length: 3.865517<br />Species: versicolor<br />count: 4","Petal.Length: 4.068966<br />Species: versicolor<br />count: 8","Petal.Length: 4.272414<br />Species: versicolor<br />count: 6","Petal.Length: 4.475862<br />Species: versicolor<br />count: 11","Petal.Length: 4.679310<br />Species: versicolor<br />count: 8","Petal.Length: 4.882759<br />Species: versicolor<br />count: 4","Petal.Length: 5.086207<br />Species: versicolor<br />count: 2","Petal.Length: 5.289655<br />Species: versicolor<br />count: 0","Petal.Length: 5.493103<br />Species: versicolor<br />count: 0","Petal.Length: 5.696552<br />Species: versicolor<br />count: 0","Petal.Length: 5.900000<br />Species: versicolor<br />count: 0","Petal.Length: 6.103448<br />Species: versicolor<br />count: 0","Petal.Length: 6.306897<br />Species: versicolor<br />count: 0","Petal.Length: 6.510345<br />Species: versicolor<br />count: 0","Petal.Length: 6.713793<br />Species: versicolor<br />count: 0","Petal.Length: 6.917241<br />Species: versicolor<br />count: 0"],"type":"bar","marker":{"autocolorscale":false,"color":"rgba(0,186,56,1)","line":{"width":1.88976377952756,"color":"transparent"}},"name":"versicolor","legendgroup":"versicolor","showlegend":true,"xaxis":"x2","yaxis":"y","hoverinfo":"text","frame":null},{"orientation":"v","width":[0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069,0.203448275862069],"base":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],"x":[1.01724137931034,1.22068965517241,1.42413793103448,1.62758620689655,1.83103448275862,2.03448275862069,2.23793103448276,2.44137931034483,2.6448275862069,2.84827586206897,3.05172413793103,3.2551724137931,3.45862068965517,3.66206896551724,3.86551724137931,4.06896551724138,4.27241379310345,4.47586206896552,4.67931034482759,4.88275862068966,5.08620689655173,5.28965517241379,5.49310344827586,5.69655172413793,5.9,6.10344827586207,6.30689655172414,6.51034482758621,6.71379310344828,6.91724137931035],"y":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,5,10,4,5,9,7,3,2,1,2,1],"text":["Petal.Length: 1.017241<br />Species: virginica<br />count: 0","Petal.Length: 1.220690<br />Species: virginica<br />count: 0","Petal.Length: 1.424138<br />Species: virginica<br />count: 0","Petal.Length: 1.627586<br />Species: virginica<br />count: 0","Petal.Length: 1.831034<br />Species: virginica<br />count: 0","Petal.Length: 2.034483<br />Species: virginica<br />count: 0","Petal.Length: 2.237931<br />Species: virginica<br />count: 0","Petal.Length: 2.441379<br />Species: virginica<br />count: 0","Petal.Length: 2.644828<br />Species: virginica<br />count: 0","Petal.Length: 2.848276<br />Species: virginica<br />count: 0","Petal.Length: 3.051724<br />Species: virginica<br />count: 0","Petal.Length: 3.255172<br />Species: virginica<br />count: 0","Petal.Length: 3.458621<br />Species: virginica<br />count: 0","Petal.Length: 3.662069<br />Species: virginica<br />count: 0","Petal.Length: 3.865517<br />Species: virginica<br />count: 0","Petal.Length: 4.068966<br />Species: virginica<br />count: 0","Petal.Length: 4.272414<br />Species: virginica<br />count: 0","Petal.Length: 4.475862<br />Species: virginica<br />count: 1","Petal.Length: 4.679310<br />Species: virginica<br />count: 0","Petal.Length: 4.882759<br />Species: virginica<br />count: 5","Petal.Length: 5.086207<br />Species: virginica<br />count: 10","Petal.Length: 5.289655<br />Species: virginica<br />count: 4","Petal.Length: 5.493103<br />Species: virginica<br />count: 5","Petal.Length: 5.696552<br />Species: virginica<br />count: 9","Petal.Length: 5.900000<br />Species: virginica<br />count: 7","Petal.Length: 6.103448<br />Species: virginica<br />count: 3","Petal.Length: 6.306897<br />Species: virginica<br />count: 2","Petal.Length: 6.510345<br />Species: virginica<br />count: 1","Petal.Length: 6.713793<br />Species: virginica<br />count: 2","Petal.Length: 6.917241<br />Species: virginica<br />count: 1"],"type":"bar","marker":{"autocolorscale":false,"color":"rgba(97,156,255,1)","line":{"width":1.88976377952756,"color":"transparent"}},"name":"virginica","legendgroup":"virginica","showlegend":true,"xaxis":"x3","yaxis":"y","hoverinfo":"text","frame":null}],"layout":{"margin":{"t":34.9954337899543,"r":18.9954337899543,"b":37.2602739726027,"l":37.2602739726027},"plot_bgcolor":"rgba(235,235,235,1)","paper_bgcolor":"rgba(255,255,255,1)","font":{"color":"rgba(0,0,0,1)","family":"","size":14.6118721461187},"xaxis":{"domain":[0,0.322461404653185],"automargin":true,"type":"linear","autorange":false,"range":[0.610344827586207,7.32413793103448],"tickmode":"array","ticktext":["2","4","6"],"tickvals":[2,4,6],"categoryorder":"array","categoryarray":["2","4","6"],"nticks":null,"ticks":"outside","tickcolor":"rgba(51,51,51,1)","ticklen":3.65296803652968,"tickwidth":0.66417600664176,"showticklabels":true,"tickfont":{"color":"rgba(77,77,77,1)","family":"","size":11.689497716895},"tickangle":-0,"showline":false,"linecolor":null,"linewidth":0,"showgrid":true,"gridcolor":"rgba(255,255,255,1)","gridwidth":0.66417600664176,"zeroline":false,"anchor":"y","title":"","hoverformat":".2f"},"annotations":[{"text":"Petal.Length","x":0.5,"y":-0.0337029789084584,"showarrow":false,"ax":0,"ay":0,"font":{"color":"rgba(0,0,0,1)","family":"","size":14.6118721461187},"xref":"paper","yref":"paper","textangle":-0,"xanchor":"center","yanchor":"top","annotationType":"axis"},{"text":"count","x":-0.0337029789084584,"y":0.5,"showarrow":false,"ax":0,"ay":0,"font":{"color":"rgba(0,0,0,1)","family":"","size":14.6118721461187},"xref":"paper","yref":"paper","textangle":-90,"xanchor":"right","yanchor":"center","annotationType":"axis"},{"text":"setosa","x":0.161230702326593,"y":1,"showarrow":false,"ax":0,"ay":0,"font":{"color":"rgba(26,26,26,1)","family":"","size":11.689497716895},"xref":"paper","yref":"paper","textangle":-0,"xanchor":"center","yanchor":"bottom"},{"text":"versicolor","x":0.5,"y":1,"showarrow":false,"ax":0,"ay":0,"font":{"color":"rgba(26,26,26,1)","family":"","size":11.689497716895},"xref":"paper","yref":"paper","textangle":-0,"xanchor":"center","yanchor":"bottom"},{"text":"virginica","x":0.838769297673407,"y":1,"showarrow":false,"ax":0,"ay":0,"font":{"color":"rgba(26,26,26,1)","family":"","size":11.689497716895},"xref":"paper","yref":"paper","textangle":-0,"xanchor":"center","yanchor":"bottom"},{"text":"Species","x":1.02,"y":1,"showarrow":false,"ax":0,"ay":0,"font":{"color":"rgba(0,0,0,1)","family":"","size":14.6118721461187},"xref":"paper","yref":"paper","textangle":-0,"xanchor":"left","yanchor":"bottom","legendTitle":true}],"yaxis":{"domain":[0,1],"automargin":true,"type":"linear","autorange":false,"range":[-1.3,27.3],"tickmode":"array","ticktext":["0","10","20"],"tickvals":[0,10,20],"categoryorder":"array","categoryarray":["0","10","20"],"nticks":null,"ticks":"outside","tickcolor":"rgba(51,51,51,1)","ticklen":3.65296803652968,"tickwidth":0.66417600664176,"showticklabels":true,"tickfont":{"color":"rgba(77,77,77,1)","family":"","size":11.689497716895},"tickangle":-0,"showline":false,"linecolor":null,"linewidth":0,"showgrid":true,"gridcolor":"rgba(255,255,255,1)","gridwidth":0.66417600664176,"zeroline":false,"anchor":"x","title":"","hoverformat":".2f"},"shapes":[{"type":"rect","fillcolor":null,"line":{"color":null,"width":0,"linetype":[]},"yref":"paper","xref":"paper","x0":0,"x1":0.322461404653185,"y0":0,"y1":1},{"type":"rect","fillcolor":"rgba(217,217,217,1)","line":{"color":"transparent","width":0.66417600664176,"linetype":"solid"},"yref":"paper","xref":"paper","x0":0,"x1":0.322461404653185,"y0":0,"y1":23.37899543379,"yanchor":1,"ysizemode":"pixel"},{"type":"rect","fillcolor":null,"line":{"color":null,"width":0,"linetype":[]},"yref":"paper","xref":"paper","x0":0.344205262013481,"x1":0.655794737986519,"y0":0,"y1":1},{"type":"rect","fillcolor":"rgba(217,217,217,1)","line":{"color":"transparent","width":0.66417600664176,"linetype":"solid"},"yref":"paper","xref":"paper","x0":0.344205262013481,"x1":0.655794737986519,"y0":0,"y1":23.37899543379,"yanchor":1,"ysizemode":"pixel"},{"type":"rect","fillcolor":null,"line":{"color":null,"width":0,"linetype":[]},"yref":"paper","xref":"paper","x0":0.677538595346814,"x1":1,"y0":0,"y1":1},{"type":"rect","fillcolor":"rgba(217,217,217,1)","line":{"color":"transparent","width":0.66417600664176,"linetype":"solid"},"yref":"paper","xref":"paper","x0":0.677538595346814,"x1":1,"y0":0,"y1":23.37899543379,"yanchor":1,"ysizemode":"pixel"}],"xaxis2":{"type":"linear","autorange":false,"range":[0.610344827586207,7.32413793103448],"tickmode":"array","ticktext":["2","4","6"],"tickvals":[2,4,6],"categoryorder":"array","categoryarray":["2","4","6"],"nticks":null,"ticks":"outside","tickcolor":"rgba(51,51,51,1)","ticklen":3.65296803652968,"tickwidth":0.66417600664176,"showticklabels":true,"tickfont":{"color":"rgba(77,77,77,1)","family":"","size":11.689497716895},"tickangle":-0,"showline":false,"linecolor":null,"linewidth":0,"showgrid":true,"domain":[0.344205262013481,0.655794737986519],"gridcolor":"rgba(255,255,255,1)","gridwidth":0.66417600664176,"zeroline":false,"anchor":"y","title":"","hoverformat":".2f"},"xaxis3":{"type":"linear","autorange":false,"range":[0.610344827586207,7.32413793103448],"tickmode":"array","ticktext":["2","4","6"],"tickvals":[2,4,6],"categoryorder":"array","categoryarray":["2","4","6"],"nticks":null,"ticks":"outside","tickcolor":"rgba(51,51,51,1)","ticklen":3.65296803652968,"tickwidth":0.66417600664176,"showticklabels":true,"tickfont":{"color":"rgba(77,77,77,1)","family":"","size":11.689497716895},"tickangle":-0,"showline":false,"linecolor":null,"linewidth":0,"showgrid":true,"domain":[0.677538595346814,1],"gridcolor":"rgba(255,255,255,1)","gridwidth":0.66417600664176,"zeroline":false,"anchor":"y","title":"","hoverformat":".2f"},"showlegend":true,"legend":{"bgcolor":"rgba(255,255,255,1)","bordercolor":"transparent","borderwidth":1.88976377952756,"font":{"color":"rgba(0,0,0,1)","family":"","size":11.689497716895},"y":0.938132733408324},"hovermode":"closest","barmode":"relative"},"config":{"doubleClick":"reset","showSendToCloud":false},"source":"A","attrs":{"3a60c6b626b49":{"x":{},"type":"bar"},"3a60c323d36b0":{"x":{},"fill":{}}},"cur_data":"3a60c6b626b49","visdat":{"3a60c6b626b49":["function (y) ","x"],"3a60c323d36b0":["function (y) ","x"]},"highlight":{"on":"plotly_click","persistent":false,"dynamic":false,"selectize":false,"opacityDim":0.2,"selected":{"opacity":1},"debounce":0},"shinyEvents":["plotly_hover","plotly_click","plotly_selected","plotly_relayout","plotly_brushed","plotly_brushing","plotly_clickannotation","plotly_doubleclick","plotly_deselect","plotly_afterplot","plotly_sunburstclick"],"base_url":"https://plot.ly"},"evals":[],"jsHooks":[]}</script>
  88. ---
  89. class:center, middle
  90. # Plotly
  91. ---
  92. # Plotly
  93. ### Utilise aussi une **grammaire de graphiques**
  94. ### Bibliothèque **JS**
  95. ### Interface par un **package R**
  96. ### Couche d'**abstraction** pour ggplot2
  97. https://plot.ly/r
  98. ---
  99. # Plotly
  100. ### `ggplot` → `plot_ly()`
  101. ### `geom_*` → `add_*` ou `add_trace`
  102. Les *aes* sont données avec des formules dans les traces
  103. ### `facet_*` → **subplots**
  104. ### `scale_*_*` + `theme` → `layout`
  105. ### `+` → `%&gt;%`
  106. ---
  107. ```r
  108. iris %&gt;%
  109. plot_ly() %&gt;%
  110. add_markers(x = ~Sepal.Length,
  111. y = ~Sepal.Width)
  112. ```
  113. <div id="htmlwidget-dbab0406774c18c85ac9" style="width:504px;height:504px;" class="plotly html-widget"></div>
  114. <script type="application/json" data-for="htmlwidget-dbab0406774c18c85ac9">{"x":{"visdat":{"3a60ccd49b29":["function () ","plotlyVisDat"]},"cur_data":"3a60ccd49b29","attrs":{"3a60ccd49b29":{"alpha_stroke":1,"sizes":[10,100],"spans":[1,20],"x":{},"y":{},"type":"scatter","mode":"markers","inherit":true}},"layout":{"margin":{"b":40,"l":60,"t":25,"r":10},"xaxis":{"domain":[0,1],"automargin":true,"title":"Sepal.Length"},"yaxis":{"domain":[0,1],"automargin":true,"title":"Sepal.Width"},"hovermode":"closest","showlegend":false},"source":"A","config":{"showSendToCloud":false},"data":[{"x":[5.1,4.9,4.7,4.6,5,5.4,4.6,5,4.4,4.9,5.4,4.8,4.8,4.3,5.8,5.7,5.4,5.1,5.7,5.1,5.4,5.1,4.6,5.1,4.8,5,5,5.2,5.2,4.7,4.8,5.4,5.2,5.5,4.9,5,5.5,4.9,4.4,5.1,5,4.5,4.4,5,5.1,4.8,5.1,4.6,5.3,5,7,6.4,6.9,5.5,6.5,5.7,6.3,4.9,6.6,5.2,5,5.9,6,6.1,5.6,6.7,5.6,5.8,6.2,5.6,5.9,6.1,6.3,6.1,6.4,6.6,6.8,6.7,6,5.7,5.5,5.5,5.8,6,5.4,6,6.7,6.3,5.6,5.5,5.5,6.1,5.8,5,5.6,5.7,5.7,6.2,5.1,5.7,6.3,5.8,7.1,6.3,6.5,7.6,4.9,7.3,6.7,7.2,6.5,6.4,6.8,5.7,5.8,6.4,6.5,7.7,7.7,6,6.9,5.6,7.7,6.3,6.7,7.2,6.2,6.1,6.4,7.2,7.4,7.9,6.4,6.3,6.1,7.7,6.3,6.4,6,6.9,6.7,6.9,5.8,6.8,6.7,6.7,6.3,6.5,6.2,5.9],"y":[3.5,3,3.2,3.1,3.6,3.9,3.4,3.4,2.9,3.1,3.7,3.4,3,3,4,4.4,3.9,3.5,3.8,3.8,3.4,3.7,3.6,3.3,3.4,3,3.4,3.5,3.4,3.2,3.1,3.4,4.1,4.2,3.1,3.2,3.5,3.6,3,3.4,3.5,2.3,3.2,3.5,3.8,3,3.8,3.2,3.7,3.3,3.2,3.2,3.1,2.3,2.8,2.8,3.3,2.4,2.9,2.7,2,3,2.2,2.9,2.9,3.1,3,2.7,2.2,2.5,3.2,2.8,2.5,2.8,2.9,3,2.8,3,2.9,2.6,2.4,2.4,2.7,2.7,3,3.4,3.1,2.3,3,2.5,2.6,3,2.6,2.3,2.7,3,2.9,2.9,2.5,2.8,3.3,2.7,3,2.9,3,3,2.5,2.9,2.5,3.6,3.2,2.7,3,2.5,2.8,3.2,3,3.8,2.6,2.2,3.2,2.8,2.8,2.7,3.3,3.2,2.8,3,2.8,3,2.8,3.8,2.8,2.8,2.6,3,3.4,3.1,3,3.1,3.1,3.1,2.7,3.2,3.3,3,2.5,3,3.4,3],"type":"scatter","mode":"markers","marker":{"color":"rgba(31,119,180,1)","line":{"color":"rgba(31,119,180,1)"}},"error_y":{"color":"rgba(31,119,180,1)"},"error_x":{"color":"rgba(31,119,180,1)"},"line":{"color":"rgba(31,119,180,1)"},"xaxis":"x","yaxis":"y","frame":null}],"highlight":{"on":"plotly_click","persistent":false,"dynamic":false,"selectize":false,"opacityDim":0.2,"selected":{"opacity":1},"debounce":0},"shinyEvents":["plotly_hover","plotly_click","plotly_selected","plotly_relayout","plotly_brushed","plotly_brushing","plotly_clickannotation","plotly_doubleclick","plotly_deselect","plotly_afterplot","plotly_sunburstclick"],"base_url":"https://plot.ly"},"evals":[],"jsHooks":[]}</script>
  115. ---
  116. ```r
  117. iris %&gt;%
  118. plot_ly(x = ~Sepal.Length,
  119. y = ~Sepal.Width) %&gt;%
  120. add_trace(color = ~Species,
  121. size = 4,
  122. mode = "markers")
  123. ```
  124. <div id="htmlwidget-5e1b4fe8d0bb8bee47f0" style="width:504px;height:504px;" class="plotly html-widget"></div>
  125. <script type="application/json" data-for="htmlwidget-5e1b4fe8d0bb8bee47f0">{"x":{"visdat":{"3a60c5df4610":["function () ","plotlyVisDat"]},"cur_data":"3a60c5df4610","attrs":{"3a60c5df4610":{"x":{},"y":{},"alpha_stroke":1,"sizes":[10,100],"spans":[1,20],"color":{},"size":4,"mode":"markers","inherit":true}},"layout":{"margin":{"b":40,"l":60,"t":25,"r":10},"xaxis":{"domain":[0,1],"automargin":true,"title":"Sepal.Length"},"yaxis":{"domain":[0,1],"automargin":true,"title":"Sepal.Width"},"hovermode":"closest","showlegend":true},"source":"A","config":{"showSendToCloud":false},"data":[{"x":[5.1,4.9,4.7,4.6,5,5.4,4.6,5,4.4,4.9,5.4,4.8,4.8,4.3,5.8,5.7,5.4,5.1,5.7,5.1,5.4,5.1,4.6,5.1,4.8,5,5,5.2,5.2,4.7,4.8,5.4,5.2,5.5,4.9,5,5.5,4.9,4.4,5.1,5,4.5,4.4,5,5.1,4.8,5.1,4.6,5.3,5],"y":[3.5,3,3.2,3.1,3.6,3.9,3.4,3.4,2.9,3.1,3.7,3.4,3,3,4,4.4,3.9,3.5,3.8,3.8,3.4,3.7,3.6,3.3,3.4,3,3.4,3.5,3.4,3.2,3.1,3.4,4.1,4.2,3.1,3.2,3.5,3.6,3,3.4,3.5,2.3,3.2,3.5,3.8,3,3.8,3.2,3.7,3.3],"mode":"markers","type":"scatter","name":"setosa","marker":{"color":"rgba(102,194,165,1)","size":[55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55],"sizemode":"area","line":{"color":"rgba(102,194,165,1)"}},"textfont":{"color":"rgba(102,194,165,1)","size":55},"error_y":{"color":"rgba(102,194,165,1)","width":55},"error_x":{"color":"rgba(102,194,165,1)","width":55},"line":{"color":"rgba(102,194,165,1)","width":55},"xaxis":"x","yaxis":"y","frame":null},{"x":[7,6.4,6.9,5.5,6.5,5.7,6.3,4.9,6.6,5.2,5,5.9,6,6.1,5.6,6.7,5.6,5.8,6.2,5.6,5.9,6.1,6.3,6.1,6.4,6.6,6.8,6.7,6,5.7,5.5,5.5,5.8,6,5.4,6,6.7,6.3,5.6,5.5,5.5,6.1,5.8,5,5.6,5.7,5.7,6.2,5.1,5.7],"y":[3.2,3.2,3.1,2.3,2.8,2.8,3.3,2.4,2.9,2.7,2,3,2.2,2.9,2.9,3.1,3,2.7,2.2,2.5,3.2,2.8,2.5,2.8,2.9,3,2.8,3,2.9,2.6,2.4,2.4,2.7,2.7,3,3.4,3.1,2.3,3,2.5,2.6,3,2.6,2.3,2.7,3,2.9,2.9,2.5,2.8],"mode":"markers","type":"scatter","name":"versicolor","marker":{"color":"rgba(252,141,98,1)","size":[55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55],"sizemode":"area","line":{"color":"rgba(252,141,98,1)"}},"textfont":{"color":"rgba(252,141,98,1)","size":55},"error_y":{"color":"rgba(252,141,98,1)","width":55},"error_x":{"color":"rgba(252,141,98,1)","width":55},"line":{"color":"rgba(252,141,98,1)","width":55},"xaxis":"x","yaxis":"y","frame":null},{"x":[6.3,5.8,7.1,6.3,6.5,7.6,4.9,7.3,6.7,7.2,6.5,6.4,6.8,5.7,5.8,6.4,6.5,7.7,7.7,6,6.9,5.6,7.7,6.3,6.7,7.2,6.2,6.1,6.4,7.2,7.4,7.9,6.4,6.3,6.1,7.7,6.3,6.4,6,6.9,6.7,6.9,5.8,6.8,6.7,6.7,6.3,6.5,6.2,5.9],"y":[3.3,2.7,3,2.9,3,3,2.5,2.9,2.5,3.6,3.2,2.7,3,2.5,2.8,3.2,3,3.8,2.6,2.2,3.2,2.8,2.8,2.7,3.3,3.2,2.8,3,2.8,3,2.8,3.8,2.8,2.8,2.6,3,3.4,3.1,3,3.1,3.1,3.1,2.7,3.2,3.3,3,2.5,3,3.4,3],"mode":"markers","type":"scatter","name":"virginica","marker":{"color":"rgba(141,160,203,1)","size":[55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55],"sizemode":"area","line":{"color":"rgba(141,160,203,1)"}},"textfont":{"color":"rgba(141,160,203,1)","size":55},"error_y":{"color":"rgba(141,160,203,1)","width":55},"error_x":{"color":"rgba(141,160,203,1)","width":55},"line":{"color":"rgba(141,160,203,1)","width":55},"xaxis":"x","yaxis":"y","frame":null}],"highlight":{"on":"plotly_click","persistent":false,"dynamic":false,"selectize":false,"opacityDim":0.2,"selected":{"opacity":1},"debounce":0},"shinyEvents":["plotly_hover","plotly_click","plotly_selected","plotly_relayout","plotly_brushed","plotly_brushing","plotly_clickannotation","plotly_doubleclick","plotly_deselect","plotly_afterplot","plotly_sunburstclick"],"base_url":"https://plot.ly"},"evals":[],"jsHooks":[]}</script>
  126. ---
  127. ```r
  128. iris %&gt;%
  129. plot_ly(x = ~Sepal.Length,
  130. y = ~Sepal.Width,
  131. color = ~Species) %&gt;%
  132. add_markers(size = 2,
  133. hoverinfo = "text",
  134. text = ~str_c("Espèce : ", Species, "\n",
  135. "Longueur de sépale :", Sepal.Length, "\n",
  136. "Largeur de sépale :", Sepal.Width))
  137. ```
  138. <div id="htmlwidget-3cc5cc40069f8c7e383d" style="width:504px;height:504px;" class="plotly html-widget"></div>
  139. <script type="application/json" data-for="htmlwidget-3cc5cc40069f8c7e383d">{"x":{"visdat":{"3a60c22de2c45":["function () ","plotlyVisDat"]},"cur_data":"3a60c22de2c45","attrs":{"3a60c22de2c45":{"x":{},"y":{},"color":{},"alpha_stroke":1,"sizes":[10,100],"spans":[1,20],"type":"scatter","mode":"markers","size":2,"hoverinfo":"text","text":{},"inherit":true}},"layout":{"margin":{"b":40,"l":60,"t":25,"r":10},"xaxis":{"domain":[0,1],"automargin":true,"title":"Sepal.Length"},"yaxis":{"domain":[0,1],"automargin":true,"title":"Sepal.Width"},"hovermode":"closest","showlegend":true},"source":"A","config":{"showSendToCloud":false},"data":[{"x":[5.1,4.9,4.7,4.6,5,5.4,4.6,5,4.4,4.9,5.4,4.8,4.8,4.3,5.8,5.7,5.4,5.1,5.7,5.1,5.4,5.1,4.6,5.1,4.8,5,5,5.2,5.2,4.7,4.8,5.4,5.2,5.5,4.9,5,5.5,4.9,4.4,5.1,5,4.5,4.4,5,5.1,4.8,5.1,4.6,5.3,5],"y":[3.5,3,3.2,3.1,3.6,3.9,3.4,3.4,2.9,3.1,3.7,3.4,3,3,4,4.4,3.9,3.5,3.8,3.8,3.4,3.7,3.6,3.3,3.4,3,3.4,3.5,3.4,3.2,3.1,3.4,4.1,4.2,3.1,3.2,3.5,3.6,3,3.4,3.5,2.3,3.2,3.5,3.8,3,3.8,3.2,3.7,3.3],"type":"scatter","mode":"markers","hoverinfo":["text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text"],"text":["Espèce : setosa<br />Longueur de sépale :5.1<br />Largeur de sépale :3.5","Espèce : setosa<br />Longueur de sépale :4.9<br />Largeur de sépale :3","Espèce : setosa<br />Longueur de sépale :4.7<br />Largeur de sépale :3.2","Espèce : setosa<br />Longueur de sépale :4.6<br />Largeur de sépale :3.1","Espèce : setosa<br />Longueur de sépale :5<br />Largeur de sépale :3.6","Espèce : setosa<br />Longueur de sépale :5.4<br />Largeur de sépale :3.9","Espèce : setosa<br />Longueur de sépale :4.6<br />Largeur de sépale :3.4","Espèce : setosa<br />Longueur de sépale :5<br />Largeur de sépale :3.4","Espèce : setosa<br />Longueur de sépale :4.4<br />Largeur de sépale :2.9","Espèce : setosa<br />Longueur de sépale :4.9<br />Largeur de sépale :3.1","Espèce : setosa<br />Longueur de sépale :5.4<br />Largeur de sépale :3.7","Espèce : setosa<br />Longueur de sépale :4.8<br />Largeur de sépale :3.4","Espèce : setosa<br />Longueur de sépale :4.8<br />Largeur de sépale :3","Espèce : setosa<br />Longueur de sépale :4.3<br />Largeur de sépale :3","Espèce : setosa<br />Longueur de sépale :5.8<br />Largeur de sépale :4","Espèce : setosa<br />Longueur de sépale :5.7<br />Largeur de sépale :4.4","Espèce : setosa<br />Longueur de sépale :5.4<br />Largeur de sépale :3.9","Espèce : setosa<br />Longueur de sépale :5.1<br />Largeur de sépale :3.5","Espèce : setosa<br />Longueur de sépale :5.7<br />Largeur de sépale :3.8","Espèce : setosa<br />Longueur de sépale :5.1<br />Largeur de sépale :3.8","Espèce : setosa<br />Longueur de sépale :5.4<br />Largeur de sépale :3.4","Espèce : setosa<br />Longueur de sépale :5.1<br />Largeur de sépale :3.7","Espèce : setosa<br />Longueur de sépale :4.6<br />Largeur de sépale :3.6","Espèce : setosa<br />Longueur de sépale :5.1<br />Largeur de sépale :3.3","Espèce : setosa<br />Longueur de sépale :4.8<br />Largeur de sépale :3.4","Espèce : setosa<br />Longueur de sépale :5<br />Largeur de sépale :3","Espèce : setosa<br />Longueur de sépale :5<br />Largeur de sépale :3.4","Espèce : setosa<br />Longueur de sépale :5.2<br />Largeur de sépale :3.5","Espèce : setosa<br />Longueur de sépale :5.2<br />Largeur de sépale :3.4","Espèce : setosa<br />Longueur de sépale :4.7<br />Largeur de sépale :3.2","Espèce : setosa<br />Longueur de sépale :4.8<br />Largeur de sépale :3.1","Espèce : setosa<br />Longueur de sépale :5.4<br />Largeur de sépale :3.4","Espèce : setosa<br />Longueur de sépale :5.2<br />Largeur de sépale :4.1","Espèce : setosa<br />Longueur de sépale :5.5<br />Largeur de sépale :4.2","Espèce : setosa<br />Longueur de sépale :4.9<br />Largeur de sépale :3.1","Espèce : setosa<br />Longueur de sépale :5<br />Largeur de sépale :3.2","Espèce : setosa<br />Longueur de sépale :5.5<br />Largeur de sépale :3.5","Espèce : setosa<br />Longueur de sépale :4.9<br />Largeur de sépale :3.6","Espèce : setosa<br />Longueur de sépale :4.4<br />Largeur de sépale :3","Espèce : setosa<br />Longueur de sépale :5.1<br />Largeur de sépale :3.4","Espèce : setosa<br />Longueur de sépale :5<br />Largeur de sépale :3.5","Espèce : setosa<br />Longueur de sépale :4.5<br />Largeur de sépale :2.3","Espèce : setosa<br />Longueur de sépale :4.4<br />Largeur de sépale :3.2","Espèce : setosa<br />Longueur de sépale :5<br />Largeur de sépale :3.5","Espèce : setosa<br />Longueur de sépale :5.1<br />Largeur de sépale :3.8","Espèce : setosa<br />Longueur de sépale :4.8<br />Largeur de sépale :3","Espèce : setosa<br />Longueur de sépale :5.1<br />Largeur de sépale :3.8","Espèce : setosa<br />Longueur de sépale :4.6<br />Largeur de sépale :3.2","Espèce : setosa<br />Longueur de sépale :5.3<br />Largeur de sépale :3.7","Espèce : setosa<br />Longueur de sépale :5<br />Largeur de sépale :3.3"],"name":"setosa","marker":{"color":"rgba(102,194,165,1)","size":[55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55],"sizemode":"area","line":{"color":"rgba(102,194,165,1)"}},"textfont":{"color":"rgba(102,194,165,1)","size":55},"error_y":{"color":"rgba(102,194,165,1)","width":55},"error_x":{"color":"rgba(102,194,165,1)","width":55},"line":{"color":"rgba(102,194,165,1)","width":55},"xaxis":"x","yaxis":"y","frame":null},{"x":[7,6.4,6.9,5.5,6.5,5.7,6.3,4.9,6.6,5.2,5,5.9,6,6.1,5.6,6.7,5.6,5.8,6.2,5.6,5.9,6.1,6.3,6.1,6.4,6.6,6.8,6.7,6,5.7,5.5,5.5,5.8,6,5.4,6,6.7,6.3,5.6,5.5,5.5,6.1,5.8,5,5.6,5.7,5.7,6.2,5.1,5.7],"y":[3.2,3.2,3.1,2.3,2.8,2.8,3.3,2.4,2.9,2.7,2,3,2.2,2.9,2.9,3.1,3,2.7,2.2,2.5,3.2,2.8,2.5,2.8,2.9,3,2.8,3,2.9,2.6,2.4,2.4,2.7,2.7,3,3.4,3.1,2.3,3,2.5,2.6,3,2.6,2.3,2.7,3,2.9,2.9,2.5,2.8],"type":"scatter","mode":"markers","hoverinfo":["text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text"],"text":["Espèce : versicolor<br />Longueur de sépale :7<br />Largeur de sépale :3.2","Espèce : versicolor<br />Longueur de sépale :6.4<br />Largeur de sépale :3.2","Espèce : versicolor<br />Longueur de sépale :6.9<br />Largeur de sépale :3.1","Espèce : versicolor<br />Longueur de sépale :5.5<br />Largeur de sépale :2.3","Espèce : versicolor<br />Longueur de sépale :6.5<br />Largeur de sépale :2.8","Espèce : versicolor<br />Longueur de sépale :5.7<br />Largeur de sépale :2.8","Espèce : versicolor<br />Longueur de sépale :6.3<br />Largeur de sépale :3.3","Espèce : versicolor<br />Longueur de sépale :4.9<br />Largeur de sépale :2.4","Espèce : versicolor<br />Longueur de sépale :6.6<br />Largeur de sépale :2.9","Espèce : versicolor<br />Longueur de sépale :5.2<br />Largeur de sépale :2.7","Espèce : versicolor<br />Longueur de sépale :5<br />Largeur de sépale :2","Espèce : versicolor<br />Longueur de sépale :5.9<br />Largeur de sépale :3","Espèce : versicolor<br />Longueur de sépale :6<br />Largeur de sépale :2.2","Espèce : versicolor<br />Longueur de sépale :6.1<br />Largeur de sépale :2.9","Espèce : versicolor<br />Longueur de sépale :5.6<br />Largeur de sépale :2.9","Espèce : versicolor<br />Longueur de sépale :6.7<br />Largeur de sépale :3.1","Espèce : versicolor<br />Longueur de sépale :5.6<br />Largeur de sépale :3","Espèce : versicolor<br />Longueur de sépale :5.8<br />Largeur de sépale :2.7","Espèce : versicolor<br />Longueur de sépale :6.2<br />Largeur de sépale :2.2","Espèce : versicolor<br />Longueur de sépale :5.6<br />Largeur de sépale :2.5","Espèce : versicolor<br />Longueur de sépale :5.9<br />Largeur de sépale :3.2","Espèce : versicolor<br />Longueur de sépale :6.1<br />Largeur de sépale :2.8","Espèce : versicolor<br />Longueur de sépale :6.3<br />Largeur de sépale :2.5","Espèce : versicolor<br />Longueur de sépale :6.1<br />Largeur de sépale :2.8","Espèce : versicolor<br />Longueur de sépale :6.4<br />Largeur de sépale :2.9","Espèce : versicolor<br />Longueur de sépale :6.6<br />Largeur de sépale :3","Espèce : versicolor<br />Longueur de sépale :6.8<br />Largeur de sépale :2.8","Espèce : versicolor<br />Longueur de sépale :6.7<br />Largeur de sépale :3","Espèce : versicolor<br />Longueur de sépale :6<br />Largeur de sépale :2.9","Espèce : versicolor<br />Longueur de sépale :5.7<br />Largeur de sépale :2.6","Espèce : versicolor<br />Longueur de sépale :5.5<br />Largeur de sépale :2.4","Espèce : versicolor<br />Longueur de sépale :5.5<br />Largeur de sépale :2.4","Espèce : versicolor<br />Longueur de sépale :5.8<br />Largeur de sépale :2.7","Espèce : versicolor<br />Longueur de sépale :6<br />Largeur de sépale :2.7","Espèce : versicolor<br />Longueur de sépale :5.4<br />Largeur de sépale :3","Espèce : versicolor<br />Longueur de sépale :6<br />Largeur de sépale :3.4","Espèce : versicolor<br />Longueur de sépale :6.7<br />Largeur de sépale :3.1","Espèce : versicolor<br />Longueur de sépale :6.3<br />Largeur de sépale :2.3","Espèce : versicolor<br />Longueur de sépale :5.6<br />Largeur de sépale :3","Espèce : versicolor<br />Longueur de sépale :5.5<br />Largeur de sépale :2.5","Espèce : versicolor<br />Longueur de sépale :5.5<br />Largeur de sépale :2.6","Espèce : versicolor<br />Longueur de sépale :6.1<br />Largeur de sépale :3","Espèce : versicolor<br />Longueur de sépale :5.8<br />Largeur de sépale :2.6","Espèce : versicolor<br />Longueur de sépale :5<br />Largeur de sépale :2.3","Espèce : versicolor<br />Longueur de sépale :5.6<br />Largeur de sépale :2.7","Espèce : versicolor<br />Longueur de sépale :5.7<br />Largeur de sépale :3","Espèce : versicolor<br />Longueur de sépale :5.7<br />Largeur de sépale :2.9","Espèce : versicolor<br />Longueur de sépale :6.2<br />Largeur de sépale :2.9","Espèce : versicolor<br />Longueur de sépale :5.1<br />Largeur de sépale :2.5","Espèce : versicolor<br />Longueur de sépale :5.7<br />Largeur de sépale :2.8"],"name":"versicolor","marker":{"color":"rgba(252,141,98,1)","size":[55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55],"sizemode":"area","line":{"color":"rgba(252,141,98,1)"}},"textfont":{"color":"rgba(252,141,98,1)","size":55},"error_y":{"color":"rgba(252,141,98,1)","width":55},"error_x":{"color":"rgba(252,141,98,1)","width":55},"line":{"color":"rgba(252,141,98,1)","width":55},"xaxis":"x","yaxis":"y","frame":null},{"x":[6.3,5.8,7.1,6.3,6.5,7.6,4.9,7.3,6.7,7.2,6.5,6.4,6.8,5.7,5.8,6.4,6.5,7.7,7.7,6,6.9,5.6,7.7,6.3,6.7,7.2,6.2,6.1,6.4,7.2,7.4,7.9,6.4,6.3,6.1,7.7,6.3,6.4,6,6.9,6.7,6.9,5.8,6.8,6.7,6.7,6.3,6.5,6.2,5.9],"y":[3.3,2.7,3,2.9,3,3,2.5,2.9,2.5,3.6,3.2,2.7,3,2.5,2.8,3.2,3,3.8,2.6,2.2,3.2,2.8,2.8,2.7,3.3,3.2,2.8,3,2.8,3,2.8,3.8,2.8,2.8,2.6,3,3.4,3.1,3,3.1,3.1,3.1,2.7,3.2,3.3,3,2.5,3,3.4,3],"type":"scatter","mode":"markers","hoverinfo":["text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text"],"text":["Espèce : virginica<br />Longueur de sépale :6.3<br />Largeur de sépale :3.3","Espèce : virginica<br />Longueur de sépale :5.8<br />Largeur de sépale :2.7","Espèce : virginica<br />Longueur de sépale :7.1<br />Largeur de sépale :3","Espèce : virginica<br />Longueur de sépale :6.3<br />Largeur de sépale :2.9","Espèce : virginica<br />Longueur de sépale :6.5<br />Largeur de sépale :3","Espèce : virginica<br />Longueur de sépale :7.6<br />Largeur de sépale :3","Espèce : virginica<br />Longueur de sépale :4.9<br />Largeur de sépale :2.5","Espèce : virginica<br />Longueur de sépale :7.3<br />Largeur de sépale :2.9","Espèce : virginica<br />Longueur de sépale :6.7<br />Largeur de sépale :2.5","Espèce : virginica<br />Longueur de sépale :7.2<br />Largeur de sépale :3.6","Espèce : virginica<br />Longueur de sépale :6.5<br />Largeur de sépale :3.2","Espèce : virginica<br />Longueur de sépale :6.4<br />Largeur de sépale :2.7","Espèce : virginica<br />Longueur de sépale :6.8<br />Largeur de sépale :3","Espèce : virginica<br />Longueur de sépale :5.7<br />Largeur de sépale :2.5","Espèce : virginica<br />Longueur de sépale :5.8<br />Largeur de sépale :2.8","Espèce : virginica<br />Longueur de sépale :6.4<br />Largeur de sépale :3.2","Espèce : virginica<br />Longueur de sépale :6.5<br />Largeur de sépale :3","Espèce : virginica<br />Longueur de sépale :7.7<br />Largeur de sépale :3.8","Espèce : virginica<br />Longueur de sépale :7.7<br />Largeur de sépale :2.6","Espèce : virginica<br />Longueur de sépale :6<br />Largeur de sépale :2.2","Espèce : virginica<br />Longueur de sépale :6.9<br />Largeur de sépale :3.2","Espèce : virginica<br />Longueur de sépale :5.6<br />Largeur de sépale :2.8","Espèce : virginica<br />Longueur de sépale :7.7<br />Largeur de sépale :2.8","Espèce : virginica<br />Longueur de sépale :6.3<br />Largeur de sépale :2.7","Espèce : virginica<br />Longueur de sépale :6.7<br />Largeur de sépale :3.3","Espèce : virginica<br />Longueur de sépale :7.2<br />Largeur de sépale :3.2","Espèce : virginica<br />Longueur de sépale :6.2<br />Largeur de sépale :2.8","Espèce : virginica<br />Longueur de sépale :6.1<br />Largeur de sépale :3","Espèce : virginica<br />Longueur de sépale :6.4<br />Largeur de sépale :2.8","Espèce : virginica<br />Longueur de sépale :7.2<br />Largeur de sépale :3","Espèce : virginica<br />Longueur de sépale :7.4<br />Largeur de sépale :2.8","Espèce : virginica<br />Longueur de sépale :7.9<br />Largeur de sépale :3.8","Espèce : virginica<br />Longueur de sépale :6.4<br />Largeur de sépale :2.8","Espèce : virginica<br />Longueur de sépale :6.3<br />Largeur de sépale :2.8","Espèce : virginica<br />Longueur de sépale :6.1<br />Largeur de sépale :2.6","Espèce : virginica<br />Longueur de sépale :7.7<br />Largeur de sépale :3","Espèce : virginica<br />Longueur de sépale :6.3<br />Largeur de sépale :3.4","Espèce : virginica<br />Longueur de sépale :6.4<br />Largeur de sépale :3.1","Espèce : virginica<br />Longueur de sépale :6<br />Largeur de sépale :3","Espèce : virginica<br />Longueur de sépale :6.9<br />Largeur de sépale :3.1","Espèce : virginica<br />Longueur de sépale :6.7<br />Largeur de sépale :3.1","Espèce : virginica<br />Longueur de sépale :6.9<br />Largeur de sépale :3.1","Espèce : virginica<br />Longueur de sépale :5.8<br />Largeur de sépale :2.7","Espèce : virginica<br />Longueur de sépale :6.8<br />Largeur de sépale :3.2","Espèce : virginica<br />Longueur de sépale :6.7<br />Largeur de sépale :3.3","Espèce : virginica<br />Longueur de sépale :6.7<br />Largeur de sépale :3","Espèce : virginica<br />Longueur de sépale :6.3<br />Largeur de sépale :2.5","Espèce : virginica<br />Longueur de sépale :6.5<br />Largeur de sépale :3","Espèce : virginica<br />Longueur de sépale :6.2<br />Largeur de sépale :3.4","Espèce : virginica<br />Longueur de sépale :5.9<br />Largeur de sépale :3"],"name":"virginica","marker":{"color":"rgba(141,160,203,1)","size":[55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55],"sizemode":"area","line":{"color":"rgba(141,160,203,1)"}},"textfont":{"color":"rgba(141,160,203,1)","size":55},"error_y":{"color":"rgba(141,160,203,1)","width":55},"error_x":{"color":"rgba(141,160,203,1)","width":55},"line":{"color":"rgba(141,160,203,1)","width":55},"xaxis":"x","yaxis":"y","frame":null}],"highlight":{"on":"plotly_click","persistent":false,"dynamic":false,"selectize":false,"opacityDim":0.2,"selected":{"opacity":1},"debounce":0},"shinyEvents":["plotly_hover","plotly_click","plotly_selected","plotly_relayout","plotly_brushed","plotly_brushing","plotly_clickannotation","plotly_doubleclick","plotly_deselect","plotly_afterplot","plotly_sunburstclick"],"base_url":"https://plot.ly"},"evals":[],"jsHooks":[]}</script>
  140. ---
  141. # Plotly
  142. ### Interaction poussée (JS)
  143. ### Animations (frame)
  144. *Aesthetic* d'animation, variable définissant l'état à chaque image clé
  145. ---
  146. class:center, middle
  147. <div id="htmlwidget-5fe8e0a928f61fb763a1" style="width:504px;height:504px;" class="plotly html-widget"></div>
  148. <script type="application/json" data-for="htmlwidget-5fe8e0a928f61fb763a1">{"x":{"visdat":{"3a60c7409f50d":["function () ","plotlyVisDat"]},"cur_data":"3a60c7409f50d","attrs":{"3a60c7409f50d":{"x":{},"y":{},"text":{},"hoverinfo":"text","color":{},"size":{},"frame":{},"alpha_stroke":1,"sizes":[10,100],"spans":[1,20],"type":"scatter","mode":"markers","inherit":true}},"layout":{"margin":{"b":40,"l":60,"t":25,"r":10},"xaxis":{"domain":[0,1],"automargin":true,"type":"log","title":"gdpPercap","range":[2.24867743229327,5.18872279335025]},"yaxis":{"domain":[0,1],"automargin":true,"title":"lifeExp","range":[20.6488,85.5532]},"hovermode":"closest","showlegend":true,"sliders":[{"currentvalue":{"prefix":"year: ","xanchor":"right","font":{"size":16,"color":"rgba(204,204,204,1)"}},"steps":[{"method":"animate","args":[["1952"],{"transition":{"duration":1000,"easing":"linear"},"frame":{"duration":1000,"redraw":true},"mode":"immediate"}],"label":"1952","value":"1952"},{"method":"animate","args":[["1957"],{"transition":{"duration":1000,"easing":"linear"},"frame":{"duration":1000,"redraw":true},"mode":"immediate"}],"label":"1957","value":"1957"},{"method":"animate","args":[["1962"],{"transition":{"duration":1000,"easing":"linear"},"frame":{"duration":1000,"redraw":true},"mode":"immediate"}],"label":"1962","value":"1962"},{"method":"animate","args":[["1967"],{"transition":{"duration":1000,"easing":"linear"},"frame":{"duration":1000,"redraw":true},"mode":"immediate"}],"label":"1967","value":"1967"},{"method":"animate","args":[["1972"],{"transition":{"duration":1000,"easing":"linear"},"frame":{"duration":1000,"redraw":true},"mode":"immediate"}],"label":"1972","value":"1972"},{"method":"animate","args":[["1977"],{"transition":{"duration":1000,"easing":"linear"},"frame":{"duration":1000,"redraw":true},"mode":"immediate"}],"label":"1977","value":"1977"},{"method":"animate","args":[["1982"],{"transition":{"duration":1000,"easing":"linear"},"frame":{"duration":1000,"redraw":true},"mode":"immediate"}],"label":"1982","value":"1982"},{"method":"animate","args":[["1987"],{"transition":{"duration":1000,"easing":"linear"},"frame":{"duration":1000,"redraw":true},"mode":"immediate"}],"label":"1987","value":"1987"},{"method":"animate","args":[["1992"],{"transition":{"duration":1000,"easing":"linear"},"frame":{"duration":1000,"redraw":true},"mode":"immediate"}],"label":"1992","value":"1992"},{"method":"animate","args":[["1997"],{"transition":{"duration":1000,"easing":"linear"},"frame":{"duration":1000,"redraw":true},"mode":"immediate"}],"label":"1997","value":"1997"},{"method":"animate","args":[["2002"],{"transition":{"duration":1000,"easing":"linear"},"frame":{"duration":1000,"redraw":true},"mode":"immediate"}],"label":"2002","value":"2002"},{"method":"animate","args":[["2007"],{"transition":{"duration":1000,"easing":"linear"},"frame":{"duration":1000,"redraw":true},"mode":"immediate"}],"label":"2007","value":"2007"}],"visible":true,"pad":{"t":40}}],"updatemenus":[{"type":"buttons","direction":"right","showactive":false,"y":0,"x":0,"yanchor":"top","xanchor":"right","pad":{"t":60,"r":5},"buttons":[{"label":"Play","method":"animate","args":[null,{"fromcurrent":true,"mode":"immediate","transition":{"duration":1000,"easing":"linear"},"frame":{"duration":1000,"redraw":true}}]}]}]},"source":"A","config":{"showSendToCloud":false},"data":[{"x":[2449.008185,3520.610273,1062.7522,851.2411407,543.2552413,339.2964587,1172.667655,1071.310713,1178.665927,1102.990936,780.5423257,2125.621418,1388.594732,2669.529475,1418.822445,375.6431231,328.9405571,362.1462796,4293.476475,485.2306591,911.2989371,510.1964923,299.850319,853.540919,298.8462121,575.5729961,2387.54806,1443.011715,369.1650802,452.3369807,743.1159097,1967.955707,1688.20357,468.5260381,2423.780443,761.879376,1077.281856,2718.885295,493.3238752,879.5835855,1450.356983,879.7877358,1135.749842,4725.295531,1615.991129,1148.376626,716.6500721,859.8086567,1468.475631,734.753484,1147.388831,406.8841148],"y":[43.077,30.015,38.223,47.622,31.975,39.031,38.523,35.463,38.092,40.715,39.143,42.111,40.477,34.812,41.893,34.482,35.928,34.078,37.003,30,43.149,33.609,32.5,42.27,42.138,38.48,42.723,36.681,36.256,33.685,40.543,50.986,42.873,31.286,41.725,37.444,36.324,52.724,40,46.471,37.278,30.331,32.978,45.009,38.635,41.407,41.215,38.596,44.6,39.978,42.038,48.451],"text":["Algeria","Angola","Benin","Botswana","Burkina Faso","Burundi","Cameroon","Central African Republic","Chad","Comoros","Congo, Dem. Rep.","Congo, Rep.","Cote d'Ivoire","Djibouti","Egypt","Equatorial Guinea","Eritrea","Ethiopia","Gabon","Gambia","Ghana","Guinea","Guinea-Bissau","Kenya","Lesotho","Liberia","Libya","Madagascar","Malawi","Mali","Mauritania","Mauritius","Morocco","Mozambique","Namibia","Niger","Nigeria","Reunion","Rwanda","Sao Tome and Principe","Senegal","Sierra Leone","Somalia","South Africa","Sudan","Swaziland","Tanzania","Togo","Tunisia","Uganda","Zambia","Zimbabwe"],"hoverinfo":["text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text"],"frame":"1952","type":"scatter","mode":"markers","name":"Africa","marker":{"color":"rgba(102,194,165,1)","size":[10.6292596189456,10.284757308037,10.1145493065594,10.0260929225276,10.3009936080408,10.1628248681844,10.3377879889006,10.0840661454065,10.1789901850535,10.0064106643484,10.9582719083065,10.0542525463218,10.1990945881249,10.0002141779582,11.5127118906765,10.0107125153205,10.0941037749237,11.4197261683766,10.0246182479052,10.0153097653375,10.3768242082611,10.1777470929079,10.0355353857619,10.4370946910883,10.0470083079123,10.0548274414595,10.0655036461765,10.3209871682172,10.1950528493895,10.2578706029555,10.0656965974473,10.0311605723178,10.6742855863167,10.4358845651485,10.0290634984598,10.2265629453924,12.2563821943099,10.0134928701025,10.1689204766197,10,10.1839813232149,10.142187272567,10.168379025459,10.9695288779204,10.5763732249538,10.01571402794,10.5639687856671,10.0791122051378,10.2448729767233,10.3934640200843,10.1782761220201,10.2061852572526],"sizemode":"area","line":{"color":"rgba(102,194,165,1)"}},"textfont":{"color":"rgba(102,194,165,1)","size":[10.6292596189456,10.284757308037,10.1145493065594,10.0260929225276,10.3009936080408,10.1628248681844,10.3377879889006,10.0840661454065,10.1789901850535,10.0064106643484,10.9582719083065,10.0542525463218,10.1990945881249,10.0002141779582,11.5127118906765,10.0107125153205,10.0941037749237,11.4197261683766,10.0246182479052,10.0153097653375,10.3768242082611,10.1777470929079,10.0355353857619,10.4370946910883,10.0470083079123,10.0548274414595,10.0655036461765,10.3209871682172,10.1950528493895,10.2578706029555,10.0656965974473,10.0311605723178,10.6742855863167,10.4358845651485,10.0290634984598,10.2265629453924,12.2563821943099,10.0134928701025,10.1689204766197,10,10.1839813232149,10.142187272567,10.168379025459,10.9695288779204,10.5763732249538,10.01571402794,10.5639687856671,10.0791122051378,10.2448729767233,10.3934640200843,10.1782761220201,10.2061852572526]},"error_y":{"color":"rgba(102,194,165,1)","width":[]},"error_x":{"color":"rgba(102,194,165,1)","width":[]},"line":{"color":"rgba(102,194,165,1)"},"xaxis":"x","yaxis":"y","visible":true},{"x":[5911.315053,2677.326347,2108.944355,11367.16112,3939.978789,2144.115096,2627.009471,5586.53878,1397.717137,3522.110717,3048.3029,2428.237769,1840.366939,2194.926204,2898.530881,3478.125529,3112.363948,2480.380334,1952.308701,3758.523437,3081.959785,3023.271928,13990.48208,5716.766744,7689.799761],"y":[62.485,40.414,50.917,68.75,54.745,50.643,57.206,59.421,45.928,48.357,45.262,42.023,37.579,41.912,58.53,50.789,42.314,55.191,62.649,43.902,64.28,59.1,68.44,66.071,55.088],"text":["Argentina","Bolivia","Brazil","Canada","Chile","Colombia","Costa Rica","Cuba","Dominican Republic","Ecuador","El Salvador","Guatemala","Haiti","Honduras","Jamaica","Mexico","Nicaragua","Panama","Paraguay","Peru","Puerto Rico","Trinidad and Tobago","United States","Uruguay","Venezuela"],"hoverinfo":["text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text"],"frame":"1952","type":"scatter","mode":"markers","name":"Americas","marker":{"color":"rgba(252,141,98,1)","size":[11.216060198127,10.1926990076926,13.8591993935856,11.0050647414534,10.4311957878396,10.8388814154577,10.0591279956243,10.4059543216627,10.1659459420127,10.2381171568826,10.1353357620006,10.2106540550972,10.2144152739446,10.0994748093615,10.0932393505002,12.0533445613081,10.0754727496675,10.0600673618572,10.1020972949218,10.5436822835541,10.14790353075,10.041145578761,20.7493711973046,10.1496757202609,10.3671709797193],"sizemode":"area","line":{"color":"rgba(252,141,98,1)"}},"textfont":{"color":"rgba(252,141,98,1)","size":[11.216060198127,10.1926990076926,13.8591993935856,11.0050647414534,10.4311957878396,10.8388814154577,10.0591279956243,10.4059543216627,10.1659459420127,10.2381171568826,10.1353357620006,10.2106540550972,10.2144152739446,10.0994748093615,10.0932393505002,12.0533445613081,10.0754727496675,10.0600673618572,10.1020972949218,10.5436822835541,10.14790353075,10.041145578761,20.7493711973046,10.1496757202609,10.3671709797193]},"error_y":{"color":"rgba(252,141,98,1)","width":[]},"error_x":{"color":"rgba(252,141,98,1)","width":[]},"line":{"color":"rgba(252,141,98,1)"},"xaxis":"x","yaxis":"y","visible":true},{"x":[779.4453145,9867.084765,684.2441716,368.4692856,400.448611,3054.421209,546.5657493,749.6816546,3035.326002,4129.766056,4086.522128,3216.956347,1546.907807,1088.277758,1030.592226,108382.3529,4834.804067,1831.132894,786.5668575,331,545.8657229,1828.230307,684.5971438,1272.880995,6459.554823,2315.138227,1083.53203,1643.485354,1206.947913,757.7974177,605.0664917,1515.592329,781.7175761],"y":[28.801,50.939,37.484,39.417,44,60.96,37.373,37.468,44.869,45.32,65.39,63.03,43.158,50.056,47.453,55.565,55.928,48.463,42.244,36.319,36.157,37.578,43.436,47.752,39.875,60.396,57.593,45.883,58.5,50.848,40.412,43.16,32.548],"text":["Afghanistan","Bahrain","Bangladesh","Cambodia","China","Hong Kong, China","India","Indonesia","Iran","Iraq","Israel","Japan","Jordan","Korea, Dem. Rep.","Korea, Rep.","Kuwait","Lebanon","Malaysia","Mongolia","Myanmar","Nepal","Oman","Pakistan","Philippines","Saudi Arabia","Singapore","Sri Lanka","Syria","Taiwan","Thailand","Vietnam","West Bank and Gaza","Yemen, Rep."],"hoverinfo":["text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text"],"frame":"1952","type":"scatter","mode":"markers","name":"Asia","marker":{"color":"rgba(141,160,203,1)","size":[10.570958440334,10.0041249391595,13.1960735163377,10.3162725230159,47.9625664144959,10.1410031510255,35.3860253098784,15.5962003804901,11.1747701277352,10.3673209998443,10.1065363344522,15.8969931199104,10.037396031179,10.6010003457508,11.4256389269872,10.0068245506259,10.0941562614915,10.4565012070906,10.0505517313918,11.3673116074712,10.622639827362,10.0305652012758,12.8179314106275,11.5274123613572,10.2693035970927,10.072825215251,10.5407229693692,10.2458158238599,10.5794920464327,11.4489699230467,11.7873299404583,10.0662446008975,10.3347003590492],"sizemode":"area","line":{"color":"rgba(141,160,203,1)"}},"textfont":{"color":"rgba(141,160,203,1)","size":[10.570958440334,10.0041249391595,13.1960735163377,10.3162725230159,47.9625664144959,10.1410031510255,35.3860253098784,15.5962003804901,11.1747701277352,10.3673209998443,10.1065363344522,15.8969931199104,10.037396031179,10.6010003457508,11.4256389269872,10.0068245506259,10.0941562614915,10.4565012070906,10.0505517313918,11.3673116074712,10.622639827362,10.0305652012758,12.8179314106275,11.5274123613572,10.2693035970927,10.072825215251,10.5407229693692,10.2458158238599,10.5794920464327,11.4489699230467,11.7873299404583,10.0662446008975,10.3347003590492]},"error_y":{"color":"rgba(141,160,203,1)","width":[]},"error_x":{"color":"rgba(141,160,203,1)","width":[]},"line":{"color":"rgba(141,160,203,1)"},"xaxis":"x","yaxis":"y","visible":true},{"x":[1601.056136,6137.076492,8343.105127,973.5331948,2444.286648,3119.23652,6876.14025,9692.385245,6424.519071,7029.809327,7144.114393,3530.690067,5263.673816,7267.688428,5210.280328,4931.404155,2647.585601,8941.571858,10095.42172,4029.329699,3068.319867,3144.613186,3581.459448,5074.659104,4215.041741,3834.034742,8527.844662,14734.23275,1969.10098,9979.508487],"y":[55.23,66.8,68,53.82,59.6,61.21,66.87,70.78,66.55,67.41,67.5,65.86,64.03,72.49,66.91,65.94,59.164,72.13,72.67,61.31,59.82,61.05,57.996,64.36,65.57,64.94,71.86,69.62,43.585,69.18],"text":["Albania","Austria","Belgium","Bosnia and Herzegovina","Bulgaria","Croatia","Czech Republic","Denmark","Finland","France","Germany","Greece","Hungary","Iceland","Ireland","Italy","Montenegro","Netherlands","Norway","Poland","Portugal","Romania","Serbia","Slovak Republic","Slovenia","Spain","Sweden","Switzerland","Turkey","United Kingdom"],"hoverinfo":["text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text"],"frame":"1952","type":"scatter","mode":"markers","name":"Europe","marker":{"color":"rgba(231,138,195,1)","size":[10.0834520047857,10.4687453883003,10.5917805238485,10.1863982306968,10.4924379205753,10.2608778990093,10.6187253122449,10.2917126314378,10.2750930225069,12.8939043183822,14.7153237044989,10.5237216895835,10.6445807142835,10.0060029208422,10.1973976134355,13.2492522379888,10.0241494862044,10.7045060416184,10.2230315344434,11.7520917283198,10.5778326791541,11.1309516926893,10.4641297782224,10.2387576431668,10.0975681614129,11.9445187477512,10.4821844750276,10.3245423312151,11.5135560439547,13.4379035689338],"sizemode":"area","line":{"color":"rgba(231,138,195,1)"}},"textfont":{"color":"rgba(231,138,195,1)","size":[10.0834520047857,10.4687453883003,10.5917805238485,10.1863982306968,10.4924379205753,10.2608778990093,10.6187253122449,10.2917126314378,10.2750930225069,12.8939043183822,14.7153237044989,10.5237216895835,10.6445807142835,10.0060029208422,10.1973976134355,13.2492522379888,10.0241494862044,10.7045060416184,10.2230315344434,11.7520917283198,10.5778326791541,11.1309516926893,10.4641297782224,10.2387576431668,10.0975681614129,11.9445187477512,10.4821844750276,10.3245423312151,11.5135560439547,13.4379035689338]},"error_y":{"color":"rgba(231,138,195,1)","width":[]},"error_x":{"color":"rgba(231,138,195,1)","width":[]},"line":{"color":"rgba(231,138,195,1)"},"xaxis":"x","yaxis":"y","visible":true},{"x":[10039.59564,10556.57566],"y":[69.12,69.39],"text":["Australia","New Zealand"],"hoverinfo":["text","text"],"frame":"1952","type":"scatter","mode":"markers","name":"Oceania","marker":{"color":"rgba(166,216,84,1)","size":[10.5891054834672,10.1320547713602],"sizemode":"area","line":{"color":"rgba(166,216,84,1)"}},"textfont":{"color":"rgba(166,216,84,1)","size":[10.5891054834672,10.1320547713602]},"error_y":{"color":"rgba(166,216,84,1)","width":[]},"error_x":{"color":"rgba(166,216,84,1)","width":[]},"line":{"color":"rgba(166,216,84,1)"},"xaxis":"x","yaxis":"y","visible":true}],"highlight":{"on":"plotly_click","persistent":false,"dynamic":false,"selectize":false,"opacityDim":0.2,"selected":{"opacity":1},"debounce":0},"frames":[{"name":"1952","data":[{"x":[2449.008185,3520.610273,1062.7522,851.2411407,543.2552413,339.2964587,1172.667655,1071.310713,1178.665927,1102.990936,780.5423257,2125.621418,1388.594732,2669.529475,1418.822445,375.6431231,328.9405571,362.1462796,4293.476475,485.2306591,911.2989371,510.1964923,299.850319,853.540919,298.8462121,575.5729961,2387.54806,1443.011715,369.1650802,452.3369807,743.1159097,1967.955707,1688.20357,468.5260381,2423.780443,761.879376,1077.281856,2718.885295,493.3238752,879.5835855,1450.356983,879.7877358,1135.749842,4725.295531,1615.991129,1148.376626,716.6500721,859.8086567,1468.475631,734.753484,1147.388831,406.8841148],"y":[43.077,30.015,38.223,47.622,31.975,39.031,38.523,35.463,38.092,40.715,39.143,42.111,40.477,34.812,41.893,34.482,35.928,34.078,37.003,30,43.149,33.609,32.5,42.27,42.138,38.48,42.723,36.681,36.256,33.685,40.543,50.986,42.873,31.286,41.725,37.444,36.324,52.724,40,46.471,37.278,30.331,32.978,45.009,38.635,41.407,41.215,38.596,44.6,39.978,42.038,48.451],"text":["Algeria","Angola","Benin","Botswana","Burkina Faso","Burundi","Cameroon","Central African Republic","Chad","Comoros","Congo, Dem. Rep.","Congo, Rep.","Cote d'Ivoire","Djibouti","Egypt","Equatorial Guinea","Eritrea","Ethiopia","Gabon","Gambia","Ghana","Guinea","Guinea-Bissau","Kenya","Lesotho","Liberia","Libya","Madagascar","Malawi","Mali","Mauritania","Mauritius","Morocco","Mozambique","Namibia","Niger","Nigeria","Reunion","Rwanda","Sao Tome and Principe","Senegal","Sierra Leone","Somalia","South Africa","Sudan","Swaziland","Tanzania","Togo","Tunisia","Uganda","Zambia","Zimbabwe"],"hoverinfo":["text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text"],"frame":"1952","type":"scatter","mode":"markers","name":"Africa","marker":{"color":"rgba(102,194,165,1)","size":[10.6292596189456,10.284757308037,10.1145493065594,10.0260929225276,10.3009936080408,10.1628248681844,10.3377879889006,10.0840661454065,10.1789901850535,10.0064106643484,10.9582719083065,10.0542525463218,10.1990945881249,10.0002141779582,11.5127118906765,10.0107125153205,10.0941037749237,11.4197261683766,10.0246182479052,10.0153097653375,10.3768242082611,10.1777470929079,10.0355353857619,10.4370946910883,10.0470083079123,10.0548274414595,10.0655036461765,10.3209871682172,10.1950528493895,10.2578706029555,10.0656965974473,10.0311605723178,10.6742855863167,10.4358845651485,10.0290634984598,10.2265629453924,12.2563821943099,10.0134928701025,10.1689204766197,10,10.1839813232149,10.142187272567,10.168379025459,10.9695288779204,10.5763732249538,10.01571402794,10.5639687856671,10.0791122051378,10.2448729767233,10.3934640200843,10.1782761220201,10.2061852572526],"sizemode":"area","line":{"color":"rgba(102,194,165,1)"}},"textfont":{"color":"rgba(102,194,165,1)","size":[10.6292596189456,10.284757308037,10.1145493065594,10.0260929225276,10.3009936080408,10.1628248681844,10.3377879889006,10.0840661454065,10.1789901850535,10.0064106643484,10.9582719083065,10.0542525463218,10.1990945881249,10.0002141779582,11.5127118906765,10.0107125153205,10.0941037749237,11.4197261683766,10.0246182479052,10.0153097653375,10.3768242082611,10.1777470929079,10.0355353857619,10.4370946910883,10.0470083079123,10.0548274414595,10.0655036461765,10.3209871682172,10.1950528493895,10.2578706029555,10.0656965974473,10.0311605723178,10.6742855863167,10.4358845651485,10.0290634984598,10.2265629453924,12.2563821943099,10.0134928701025,10.1689204766197,10,10.1839813232149,10.142187272567,10.168379025459,10.9695288779204,10.5763732249538,10.01571402794,10.5639687856671,10.0791122051378,10.2448729767233,10.3934640200843,10.1782761220201,10.2061852572526]},"error_y":{"color":"rgba(102,194,165,1)","width":[]},"error_x":{"color":"rgba(102,194,165,1)","width":[]},"line":{"color":"rgba(102,194,165,1)"},"xaxis":"x","yaxis":"y","visible":true},{"x":[5911.315053,2677.326347,2108.944355,11367.16112,3939.978789,2144.115096,2627.009471,5586.53878,1397.717137,3522.110717,3048.3029,2428.237769,1840.366939,2194.926204,2898.530881,3478.125529,3112.363948,2480.380334,1952.308701,3758.523437,3081.959785,3023.271928,13990.48208,5716.766744,7689.799761],"y":[62.485,40.414,50.917,68.75,54.745,50.643,57.206,59.421,45.928,48.357,45.262,42.023,37.579,41.912,58.53,50.789,42.314,55.191,62.649,43.902,64.28,59.1,68.44,66.071,55.088],"text":["Argentina","Bolivia","Brazil","Canada","Chile","Colombia","Costa Rica","Cuba","Dominican Republic","Ecuador","El Salvador","Guatemala","Haiti","Honduras","Jamaica","Mexico","Nicaragua","Panama","Paraguay","Peru","Puerto Rico","Trinidad and Tobago","United States","Uruguay","Venezuela"],"hoverinfo":["text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text"],"frame":"1952","type":"scatter","mode":"markers","name":"Americas","marker":{"color":"rgba(252,141,98,1)","size":[11.216060198127,10.1926990076926,13.8591993935856,11.0050647414534,10.4311957878396,10.8388814154577,10.0591279956243,10.4059543216627,10.1659459420127,10.2381171568826,10.1353357620006,10.2106540550972,10.2144152739446,10.0994748093615,10.0932393505002,12.0533445613081,10.0754727496675,10.0600673618572,10.1020972949218,10.5436822835541,10.14790353075,10.041145578761,20.7493711973046,10.1496757202609,10.3671709797193],"sizemode":"area","line":{"color":"rgba(252,141,98,1)"}},"textfont":{"color":"rgba(252,141,98,1)","size":[11.216060198127,10.1926990076926,13.8591993935856,11.0050647414534,10.4311957878396,10.8388814154577,10.0591279956243,10.4059543216627,10.1659459420127,10.2381171568826,10.1353357620006,10.2106540550972,10.2144152739446,10.0994748093615,10.0932393505002,12.0533445613081,10.0754727496675,10.0600673618572,10.1020972949218,10.5436822835541,10.14790353075,10.041145578761,20.7493711973046,10.1496757202609,10.3671709797193]},"error_y":{"color":"rgba(252,141,98,1)","width":[]},"error_x":{"color":"rgba(252,141,98,1)","width":[]},"line":{"color":"rgba(252,141,98,1)"},"xaxis":"x","yaxis":"y","visible":true},{"x":[779.4453145,9867.084765,684.2441716,368.4692856,400.448611,3054.421209,546.5657493,749.6816546,3035.326002,4129.766056,4086.522128,3216.956347,1546.907807,1088.277758,1030.592226,108382.3529,4834.804067,1831.132894,786.5668575,331,545.8657229,1828.230307,684.5971438,1272.880995,6459.554823,2315.138227,1083.53203,1643.485354,1206.947913,757.7974177,605.0664917,1515.592329,781.7175761],"y":[28.801,50.939,37.484,39.417,44,60.96,37.373,37.468,44.869,45.32,65.39,63.03,43.158,50.056,47.453,55.565,55.928,48.463,42.244,36.319,36.157,37.578,43.436,47.752,39.875,60.396,57.593,45.883,58.5,50.848,40.412,43.16,32.548],"text":["Afghanistan","Bahrain","Bangladesh","Cambodia","China","Hong Kong, China","India","Indonesia","Iran","Iraq","Israel","Japan","Jordan","Korea, Dem. Rep.","Korea, Rep.","Kuwait","Lebanon","Malaysia","Mongolia","Myanmar","Nepal","Oman","Pakistan","Philippines","Saudi Arabia","Singapore","Sri Lanka","Syria","Taiwan","Thailand","Vietnam","West Bank and Gaza","Yemen, Rep."],"hoverinfo":["text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text"],"frame":"1952","type":"scatter","mode":"markers","name":"Asia","marker":{"color":"rgba(141,160,203,1)","size":[10.570958440334,10.0041249391595,13.1960735163377,10.3162725230159,47.9625664144959,10.1410031510255,35.3860253098784,15.5962003804901,11.1747701277352,10.3673209998443,10.1065363344522,15.8969931199104,10.037396031179,10.6010003457508,11.4256389269872,10.0068245506259,10.0941562614915,10.4565012070906,10.0505517313918,11.3673116074712,10.622639827362,10.0305652012758,12.8179314106275,11.5274123613572,10.2693035970927,10.072825215251,10.5407229693692,10.2458158238599,10.5794920464327,11.4489699230467,11.7873299404583,10.0662446008975,10.3347003590492],"sizemode":"area","line":{"color":"rgba(141,160,203,1)"}},"textfont":{"color":"rgba(141,160,203,1)","size":[10.570958440334,10.0041249391595,13.1960735163377,10.3162725230159,47.9625664144959,10.1410031510255,35.3860253098784,15.5962003804901,11.1747701277352,10.3673209998443,10.1065363344522,15.8969931199104,10.037396031179,10.6010003457508,11.4256389269872,10.0068245506259,10.0941562614915,10.4565012070906,10.0505517313918,11.3673116074712,10.622639827362,10.0305652012758,12.8179314106275,11.5274123613572,10.2693035970927,10.072825215251,10.5407229693692,10.2458158238599,10.5794920464327,11.4489699230467,11.7873299404583,10.0662446008975,10.3347003590492]},"error_y":{"color":"rgba(141,160,203,1)","width":[]},"error_x":{"color":"rgba(141,160,203,1)","width":[]},"line":{"color":"rgba(141,160,203,1)"},"xaxis":"x","yaxis":"y","visible":true},{"x":[1601.056136,6137.076492,8343.105127,973.5331948,2444.286648,3119.23652,6876.14025,9692.385245,6424.519071,7029.809327,7144.114393,3530.690067,5263.673816,7267.688428,5210.280328,4931.404155,2647.585601,8941.571858,10095.42172,4029.329699,3068.319867,3144.613186,3581.459448,5074.659104,4215.041741,3834.034742,8527.844662,14734.23275,1969.10098,9979.508487],"y":[55.23,66.8,68,53.82,59.6,61.21,66.87,70.78,66.55,67.41,67.5,65.86,64.03,72.49,66.91,65.94,59.164,72.13,72.67,61.31,59.82,61.05,57.996,64.36,65.57,64.94,71.86,69.62,43.585,69.18],"text":["Albania","Austria","Belgium","Bosnia and Herzegovina","Bulgaria","Croatia","Czech Republic","Denmark","Finland","France","Germany","Greece","Hungary","Iceland","Ireland","Italy","Montenegro","Netherlands","Norway","Poland","Portugal","Romania","Serbia","Slovak Republic","Slovenia","Spain","Sweden","Switzerland","Turkey","United Kingdom"],"hoverinfo":["text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text"],"frame":"1952","type":"scatter","mode":"markers","name":"Europe","marker":{"color":"rgba(231,138,195,1)","size":[10.0834520047857,10.4687453883003,10.5917805238485,10.1863982306968,10.4924379205753,10.2608778990093,10.6187253122449,10.2917126314378,10.2750930225069,12.8939043183822,14.7153237044989,10.5237216895835,10.6445807142835,10.0060029208422,10.1973976134355,13.2492522379888,10.0241494862044,10.7045060416184,10.2230315344434,11.7520917283198,10.5778326791541,11.1309516926893,10.4641297782224,10.2387576431668,10.0975681614129,11.9445187477512,10.4821844750276,10.3245423312151,11.5135560439547,13.4379035689338],"sizemode":"area","line":{"color":"rgba(231,138,195,1)"}},"textfont":{"color":"rgba(231,138,195,1)","size":[10.0834520047857,10.4687453883003,10.5917805238485,10.1863982306968,10.4924379205753,10.2608778990093,10.6187253122449,10.2917126314378,10.2750930225069,12.8939043183822,14.7153237044989,10.5237216895835,10.6445807142835,10.0060029208422,10.1973976134355,13.2492522379888,10.0241494862044,10.7045060416184,10.2230315344434,11.7520917283198,10.5778326791541,11.1309516926893,10.4641297782224,10.2387576431668,10.0975681614129,11.9445187477512,10.4821844750276,10.3245423312151,11.5135560439547,13.4379035689338]},"error_y":{"color":"rgba(231,138,195,1)","width":[]},"error_x":{"color":"rgba(231,138,195,1)","width":[]},"line":{"color":"rgba(231,138,195,1)"},"xaxis":"x","yaxis":"y","visible":true},{"x":[10039.59564,10556.57566],"y":[69.12,69.39],"text":["Australia","New Zealand"],"hoverinfo":["text","text"],"frame":"1952","type":"scatter","mode":"markers","name":"Oceania","marker":{"color":"rgba(166,216,84,1)","size":[10.5891054834672,10.1320547713602],"sizemode":"area","line":{"color":"rgba(166,216,84,1)"}},"textfont":{"color":"rgba(166,216,84,1)","size":[10.5891054834672,10.1320547713602]},"error_y":{"color":"rgba(166,216,84,1)","width":[]},"error_x":{"color":"rgba(166,216,84,1)","width":[]},"line":{"color":"rgba(166,216,84,1)"},"xaxis":"x","yaxis":"y","visible":true}],"traces":[0,1,2,3,4]},{"name":"1957","data":[{"x":[3013.976023,3827.940465,959.6010805,918.2325349,617.1834648,379.5646281,1313.048099,1190.844328,1308.495577,1211.148548,905.8602303,2315.056572,1500.895925,2864.969076,1458.915272,426.0964081,344.1618859,378.9041632,4976.198099,520.9267111,1043.561537,576.2670245,431.7904566,944.4383152,335.9971151,620.9699901,3448.284395,1589.20275,416.3698064,490.3821867,846.1202613,2034.037981,1642.002314,495.5868333,2621.448058,835.5234025,1100.592563,2769.451844,540.2893983,860.7369026,1567.653006,1004.484437,1258.147413,5487.104219,1770.337074,1244.708364,698.5356073,925.9083202,1395.232468,774.3710692,1311.956766,518.7642681],"y":[45.685,31.999,40.358,49.618,34.906,40.533,40.428,37.464,39.881,42.46,40.652,45.053,42.469,37.328,44.444,35.983,38.047,36.667,38.999,32.065,44.779,34.558,33.489,44.686,45.047,39.486,45.289,38.865,37.207,35.307,42.338,58.089,45.423,33.779,45.226,38.598,37.802,55.09,41.5,48.945,39.329,31.57,34.977,47.985,39.624,43.424,42.974,41.208,47.1,42.571,44.077,50.469],"text":["Algeria","Angola","Benin","Botswana","Burkina Faso","Burundi","Cameroon","Central African Republic","Chad","Comoros","Congo, Dem. Rep.","Congo, Rep.","Cote d'Ivoire","Djibouti","Egypt","Equatorial Guinea","Eritrea","Ethiopia","Gabon","Gambia","Ghana","Guinea","Guinea-Bissau","Kenya","Lesotho","Liberia","Libya","Madagascar","Malawi","Mali","Mauritania","Mauritius","Morocco","Mozambique","Namibia","Niger","Nigeria","Reunion","Rwanda","Sao Tome and Principe","Senegal","Sierra Leone","Somalia","South Africa","Sudan","Swaziland","Tanzania","Togo","Tunisia","Uganda","Zambia","Zimbabwe"],"hoverinfo":["text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text"],"frame":"1957","type":"scatter","mode":"markers","name":"Africa","marker":{"color":"rgba(102,194,165,1)","size":[10.6969209476565,10.3072307049743,10.1273029282663,10.0282996107261,10.3176089170318,10.177970212011,10.3617349684121,10.0909316478408,10.1934866474752,10.0075704195638,11.0591448806616,10.0600931614966,10.2211390148687,10.0008081156868,11.7028942732335,10.0118016969193,10.1011919186899,11.5531384921871,10.0255875772113,10.0179600298746,10.4321287382892,10.1922492885827,10.0369306138759,10.5047152044968,10.0514168383454,10.0625155974726,10.0779153885358,10.3495692781687,10.2157632709729,10.2854254367919,10.0694024631004,10.0375258484118,10.7744218356377,10.4762711703929,10.0333121803339,10.2479067549466,12.5330965671665,10.016973773821,10.1885196708808,10.0000896844605,10.2043861078012,10.1525910112517,10.1856757725427,11.0982959698449,10.6616024699734,10.0182051264482,10.6410879345404,10.0885537810829,10.2655614208362,10.4515271321827,10.2017551588671,10.2447777637686],"sizemode":"area","line":{"color":"rgba(102,194,165,1)"}},"textfont":{"color":"rgba(102,194,165,1)","size":[10.6969209476565,10.3072307049743,10.1273029282663,10.0282996107261,10.3176089170318,10.177970212011,10.3617349684121,10.0909316478408,10.1934866474752,10.0075704195638,11.0591448806616,10.0600931614966,10.2211390148687,10.0008081156868,11.7028942732335,10.0118016969193,10.1011919186899,11.5531384921871,10.0255875772113,10.0179600298746,10.4321287382892,10.1922492885827,10.0369306138759,10.5047152044968,10.0514168383454,10.0625155974726,10.0779153885358,10.3495692781687,10.2157632709729,10.2854254367919,10.0694024631004,10.0375258484118,10.7744218356377,10.4762711703929,10.0333121803339,10.2479067549466,12.5330965671665,10.016973773821,10.1885196708808,10.0000896844605,10.2043861078012,10.1525910112517,10.1856757725427,11.0982959698449,10.6616024699734,10.0182051264482,10.6410879345404,10.0885537810829,10.2655614208362,10.4515271321827,10.2017551588671,10.2447777637686]},"error_y":{"color":"rgba(102,194,165,1)","width":[]},"error_x":{"color":"rgba(102,194,165,1)","width":[]},"line":{"color":"rgba(102,194,165,1)"},"xaxis":"x","yaxis":"y","visible":true},{"x":[6856.856212,2127.686326,2487.365989,12489.95006,4315.622723,2323.805581,2990.010802,6092.174359,1544.402995,3780.546651,3421.523218,2617.155967,1726.887882,2220.487682,4756.525781,4131.546641,3457.415947,2961.800905,2046.154706,4245.256698,3907.156189,4100.3934,14847.12712,6150.772969,9802.466526],"y":[64.399,41.89,53.285,69.96,56.074,55.118,60.026,62.325,49.828,51.356,48.57,44.142,40.696,44.665,62.61,55.19,45.432,59.201,63.196,46.263,68.54,61.8,69.49,67.044,57.907],"text":["Argentina","Bolivia","Brazil","Canada","Chile","Colombia","Costa Rica","Cuba","Dominican Republic","Ecuador","El Salvador","Guatemala","Haiti","Honduras","Jamaica","Mexico","Nicaragua","Panama","Paraguay","Peru","Puerto Rico","Trinidad and Tobago","United States","Uruguay","Venezuela"],"hoverinfo":["text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text"],"frame":"1957","type":"scatter","mode":"markers","name":"Americas","marker":{"color":"rgba(252,141,98,1)","size":[11.3343823947993,10.2151148673391,14.4699690662552,11.1568983490077,10.4769803874623,10.9846167527091,10.0718218959438,10.4491554081961,10.1954203236173,10.2729010769594,10.1566948602299,10.2444048292996,10.2353152341482,10.1167385219864,10.100678587771,12.3858207593871,10.0886481750014,10.0684915583743,10.1167734675296,10.6201529605407,10.150155880215,10.0481107988489,21.7343304436385,10.1614148291663,10.4533813618165],"sizemode":"area","line":{"color":"rgba(252,141,98,1)"}},"textfont":{"color":"rgba(252,141,98,1)","size":[11.3343823947993,10.2151148673391,14.4699690662552,11.1568983490077,10.4769803874623,10.9846167527091,10.0718218959438,10.4491554081961,10.1954203236173,10.2729010769594,10.1566948602299,10.2444048292996,10.2353152341482,10.1167385219864,10.100678587771,12.3858207593871,10.0886481750014,10.0684915583743,10.1167734675296,10.6201529605407,10.150155880215,10.0481107988489,21.7343304436385,10.1614148291663,10.4533813618165]},"error_y":{"color":"rgba(252,141,98,1)","width":[]},"error_x":{"color":"rgba(252,141,98,1)","width":[]},"line":{"color":"rgba(252,141,98,1)"},"xaxis":"x","yaxis":"y","visible":true},{"x":[820.8530296,11635.79945,661.6374577,434.0383364,575.9870009,3629.076457,590.061996,858.9002707,3290.257643,6229.333562,5385.278451,4317.694365,1886.080591,1571.134655,1487.593537,113523.1329,6089.786934,1810.066992,912.6626085,350,597.9363558,2242.746551,747.0835292,1547.944844,8157.591248,2843.104409,1072.546602,2117.234893,1507.86129,793.5774148,676.2854478,1827.067742,804.8304547],"y":[30.332,53.832,39.348,41.366,50.54896,64.75,40.249,39.918,47.181,48.437,67.84,65.5,45.669,54.081,52.681,58.033,59.489,52.102,45.248,41.905,37.686,40.08,45.557,51.334,42.868,63.179,61.456,48.284,62.4,53.63,42.887,45.671,33.97],"text":["Afghanistan","Bahrain","Bangladesh","Cambodia","China","Hong Kong, China","India","Indonesia","Iran","Iraq","Israel","Japan","Jordan","Korea, Dem. Rep.","Korea, Rep.","Kuwait","Lebanon","Malaysia","Mongolia","Myanmar","Nepal","Oman","Pakistan","Philippines","Saudi Arabia","Singapore","Sri Lanka","Syria","Taiwan","Thailand","Vietnam","West Bank and Gaza","Yemen, Rep."],"hoverinfo":["text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text"],"frame":"1957","type":"scatter","mode":"markers","name":"Asia","marker":{"color":"rgba(141,160,203,1)","size":[10.6266256668789,10.0053676900401,13.5017520795186,10.3591831929744,53.5009212734964,10.1826647908261,37.9113868312111,16.1471387102251,11.3467677232422,10.4223927870943,10.1286152972212,16.2453554117779,10.0468589703175,10.6382591883715,11.5392106456259,10.0104314494085,10.1083449028196,10.5241301838728,10.0561123727028,11.4791679231067,10.6567528203103,10.0342606924707,13.1819509439272,11.7754098928125,10.2975585020946,10.0945930807817,10.6189548471313,10.2791477975679,10.689642377981,11.7050903822149,11.975142032342,10.068964756521,10.3711652826099],"sizemode":"area","line":{"color":"rgba(141,160,203,1)"}},"textfont":{"color":"rgba(141,160,203,1)","size":[10.6266256668789,10.0053676900401,13.5017520795186,10.3591831929744,53.5009212734964,10.1826647908261,37.9113868312111,16.1471387102251,11.3467677232422,10.4223927870943,10.1286152972212,16.2453554117779,10.0468589703175,10.6382591883715,11.5392106456259,10.0104314494085,10.1083449028196,10.5241301838728,10.0561123727028,11.4791679231067,10.6567528203103,10.0342606924707,13.1819509439272,11.7754098928125,10.2975585020946,10.0945930807817,10.6189548471313,10.2791477975679,10.689642377981,11.7050903822149,11.975142032342,10.068964756521,10.3711652826099]},"error_y":{"color":"rgba(141,160,203,1)","width":[]},"error_x":{"color":"rgba(141,160,203,1)","width":[]},"line":{"color":"rgba(141,160,203,1)"},"xaxis":"x","yaxis":"y","visible":true},{"x":[1942.284244,8842.59803,9714.960623,1353.989176,3008.670727,4338.231617,8256.343918,11099.65935,7545.415386,8662.834898,10187.82665,4916.299889,6040.180011,9244.001412,5599.077872,6248.656232,3682.259903,11276.19344,11653.97304,4734.253019,3774.571743,3943.370225,4981.090891,6093.26298,5862.276629,4564.80241,9911.878226,17909.48973,2218.754257,11283.17795],"y":[59.28,67.48,69.24,58.45,66.61,64.77,69.03,71.81,67.49,68.93,69.1,67.86,66.41,73.47,68.9,67.81,61.448,72.99,73.44,65.77,61.51,64.1,61.685,67.45,67.85,66.66,72.49,70.56,48.079,70.42],"text":["Albania","Austria","Belgium","Bosnia and Herzegovina","Bulgaria","Croatia","Czech Republic","Denmark","Finland","France","Germany","Greece","Hungary","Iceland","Ireland","Italy","Montenegro","Netherlands","Norway","Poland","Portugal","Romania","Serbia","Slovak Republic","Slovenia","Spain","Sweden","Switzerland","Turkey","United Kingdom"],"hoverinfo":["text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text"],"frame":"1957","type":"scatter","mode":"markers","name":"Europe","marker":{"color":"rgba(231,138,195,1)","size":[10.0966799849405,10.4713450091009,10.6094379881117,10.2058503397125,10.5181252154402,10.2683183648343,10.645246727195,10.3022120608483,10.2910301012969,13.0202540250537,14.8431695854923,10.5484953496017,10.6674454740037,10.0071733235279,10.1923512585858,13.3527238073494,10.0261284823479,10.748487942633,10.2342393618871,11.9230515367475,10.5977352580628,11.212809375319,10.4921809479773,10.2582875606186,10.1005407166825,12.0326841691839,10.4985057500339,10.3457690185972,11.7480230296438,13.5061565830239],"sizemode":"area","line":{"color":"rgba(231,138,195,1)"}},"textfont":{"color":"rgba(231,138,195,1)","size":[10.0966799849405,10.4713450091009,10.6094379881117,10.2058503397125,10.5181252154402,10.2683183648343,10.645246727195,10.3022120608483,10.2910301012969,13.0202540250537,14.8431695854923,10.5484953496017,10.6674454740037,10.0071733235279,10.1923512585858,13.3527238073494,10.0261284823479,10.748487942633,10.2342393618871,11.9230515367475,10.5977352580628,11.212809375319,10.4921809479773,10.2582875606186,10.1005407166825,12.0326841691839,10.4985057500339,10.3457690185972,11.7480230296438,13.5061565830239]},"error_y":{"color":"rgba(231,138,195,1)","width":[]},"error_x":{"color":"rgba(231,138,195,1)","width":[]},"line":{"color":"rgba(231,138,195,1)"},"xaxis":"x","yaxis":"y","visible":true},{"x":[10949.64959,12247.39532],"y":[70.33,70.26],"text":["Australia","New Zealand"],"hoverinfo":["text","text"],"frame":"1957","type":"scatter","mode":"markers","name":"Oceania","marker":{"color":"rgba(166,216,84,1)","size":[10.6588161771792,10.1480678157549],"sizemode":"area","line":{"color":"rgba(166,216,84,1)"}},"textfont":{"color":"rgba(166,216,84,1)","size":[10.6588161771792,10.1480678157549]},"error_y":{"color":"rgba(166,216,84,1)","width":[]},"error_x":{"color":"rgba(166,216,84,1)","width":[]},"line":{"color":"rgba(166,216,84,1)"},"xaxis":"x","yaxis":"y","visible":true}],"traces":[0,1,2,3,4]},{"name":"1962","data":[{"x":[2550.81688,4269.276742,949.4990641,983.6539764,722.5120206,355.2032273,1399.607441,1193.068753,1389.817618,1406.648278,896.3146335,2464.783157,1728.869428,3020.989263,1693.335853,582.8419714,380.9958433,419.4564161,6631.459222,599.650276,1190.041118,686.3736739,522.0343725,896.9663732,411.8006266,634.1951625,6757.030816,1643.38711,427.9010856,496.1743428,1055.896036,2529.067487,1566.353493,556.6863539,3173.215595,997.7661127,1150.927478,3173.72334,597.4730727,1071.551119,1654.988723,1116.639877,1369.488336,5768.729717,1959.593767,1856.182125,722.0038073,1067.53481,1660.30321,767.2717398,1452.725766,527.2721818],"y":[48.303,34,42.618,51.52,37.814,42.045,42.643,39.475,41.716,44.467,42.122,48.435,44.93,39.693,46.992,37.485,40.158,40.059,40.489,33.896,46.452,35.753,34.488,47.949,47.747,40.502,47.808,40.848,38.41,36.936,44.248,60.246,47.924,36.161,48.386,39.487,39.36,57.666,43,51.893,41.454,32.767,36.981,49.951,40.87,44.992,44.246,43.922,49.579,45.344,46.023,52.358],"text":["Algeria","Angola","Benin","Botswana","Burkina Faso","Burundi","Cameroon","Central African Republic","Chad","Comoros","Congo, Dem. Rep.","Congo, Rep.","Cote d'Ivoire","Djibouti","Egypt","Equatorial Guinea","Eritrea","Ethiopia","Gabon","Gambia","Ghana","Guinea","Guinea-Bissau","Kenya","Lesotho","Liberia","Libya","Madagascar","Malawi","Mali","Mauritania","Mauritius","Morocco","Mozambique","Namibia","Niger","Nigeria","Reunion","Rwanda","Sao Tome and Principe","Senegal","Sierra Leone","Somalia","South Africa","Sudan","Swaziland","Tanzania","Togo","Tunisia","Uganda","Zambia","Zimbabwe"],"hoverinfo":["text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text"],"frame":"1962","type":"scatter","mode":"markers","name":"Africa","marker":{"color":"rgba(102,194,165,1)","size":[10.7467519272196,10.3252941381653,10.1427773881268,10.0309017568883,10.3316837805854,10.1980636946,10.3913369831532,10.0998860337714,10.210929524262,10.0089874203894,11.1894058945586,10.0674280399088,10.2574774655943,10.0020398778321,11.9188173245124,10.012914084543,10.1096557702082,11.7121514977876,10.0270043050247,10.0214320607014,10.4979219137514,10.2102187373733,10.0387546756775,10.5882417415739,10.0568637701349,10.0718557494388,10.0943155640264,10.3851731217037,10.2435675013228,10.3160360945751,10.0741736900503,10.0437505232968,10.8870566451519,10.5275229729502,10.0383159453029,10.2741038998267,12.8537499781448,10.0204000751284,10.2041605315897,10.0003640615772,10.2300284921828,10.1643453405793,10.20613379448,11.2488012372391,10.7591930183749,10.0211580931029,10.7374019468194,10.1002013626965,10.2884741624253,10.5206876383481,10.2293976295736,10.2878724438531],"sizemode":"area","line":{"color":"rgba(102,194,165,1)"}},"textfont":{"color":"rgba(102,194,165,1)","size":[10.7467519272196,10.3252941381653,10.1427773881268,10.0309017568883,10.3316837805854,10.1980636946,10.3913369831532,10.0998860337714,10.210929524262,10.0089874203894,11.1894058945586,10.0674280399088,10.2574774655943,10.0020398778321,11.9188173245124,10.012914084543,10.1096557702082,11.7121514977876,10.0270043050247,10.0214320607014,10.4979219137514,10.2102187373733,10.0387546756775,10.5882417415739,10.0568637701349,10.0718557494388,10.0943155640264,10.3851731217037,10.2435675013228,10.3160360945751,10.0741736900503,10.0437505232968,10.8870566451519,10.5275229729502,10.0383159453029,10.2741038998267,12.8537499781448,10.0204000751284,10.2041605315897,10.0003640615772,10.2300284921828,10.1643453405793,10.20613379448,11.2488012372391,10.7591930183749,10.0211580931029,10.7374019468194,10.1002013626965,10.2884741624253,10.5206876383481,10.2293976295736,10.2878724438531]},"error_y":{"color":"rgba(102,194,165,1)","width":[]},"error_x":{"color":"rgba(102,194,165,1)","width":[]},"line":{"color":"rgba(102,194,165,1)"},"xaxis":"x","yaxis":"y","visible":true},{"x":[7133.166023,2180.972546,3336.585802,13462.48555,4519.094331,2492.351109,3460.937025,5180.75591,1662.137359,4086.114078,3776.803627,2750.364446,1796.589032,2291.156835,5246.107524,4581.609385,3634.364406,3536.540301,2148.027146,4957.037982,5108.34463,4997.523971,16173.14586,5603.357717,8422.974165],"y":[65.142,43.428,55.665,71.3,57.924,57.863,62.842,65.246,53.459,54.64,52.307,46.954,43.59,48.041,65.61,58.299,48.632,61.817,64.361,49.096,69.62,64.9,70.21,68.253,60.77],"text":["Argentina","Bolivia","Brazil","Canada","Chile","Colombia","Costa Rica","Cuba","Dominican Republic","Ecuador","El Salvador","Guatemala","Haiti","Honduras","Jamaica","Mexico","Nicaragua","Panama","Paraguay","Peru","Puerto Rico","Trinidad and Tobago","United States","Uruguay","Venezuela"],"hoverinfo":["text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text"],"frame":"1962","type":"scatter","mode":"markers","name":"Americas","marker":{"color":"rgba(252,141,98,1)","size":[11.4485864093605,10.241199804264,15.185821625442,11.2917454876804,10.5392839228201,11.156879988947,10.0877171356362,10.4910368909551,10.2316113478326,10.315444682208,10.1834419878976,10.2831713127486,10.2607346359328,10.138563924808,10.1095540732172,12.8025693634811,10.1044671078241,10.0788809639261,10.1330798633789,10.7136868910497,10.1629905865026,10.0564784818704,22.7276848107054,10.173257204882,10.5517139569872],"sizemode":"area","line":{"color":"rgba(252,141,98,1)"}},"textfont":{"color":"rgba(252,141,98,1)","size":[11.4485864093605,10.241199804264,15.185821625442,11.2917454876804,10.5392839228201,11.156879988947,10.0877171356362,10.4910368909551,10.2316113478326,10.315444682208,10.1834419878976,10.2831713127486,10.2607346359328,10.138563924808,10.1095540732172,12.8025693634811,10.1044671078241,10.0788809639261,10.1330798633789,10.7136868910497,10.1629905865026,10.0564784818704,22.7276848107054,10.173257204882,10.5517139569872]},"error_y":{"color":"rgba(252,141,98,1)","width":[]},"error_x":{"color":"rgba(252,141,98,1)","width":[]},"line":{"color":"rgba(252,141,98,1)"},"xaxis":"x","yaxis":"y","visible":true},{"x":[853.10071,12753.27514,686.3415538,496.9136476,487.6740183,4692.648272,658.3471509,849.2897701,4187.329802,8341.737815,7105.630706,6576.649461,2348.009158,1621.693598,1536.344387,95458.11176,5714.560611,2036.884944,1056.353958,388,652.3968593,2924.638113,803.3427418,1649.552153,11626.41975,3674.735572,1074.47196,2193.037133,1822.879028,1002.199172,772.0491602,2198.956312,825.6232006],"y":[31.997,56.923,41.216,43.415,44.50136,67.65,43.605,42.518,49.325,51.457,69.39,68.73,48.126,56.656,55.292,60.47,62.094,55.737,48.251,45.108,39.393,43.165,47.67,54.757,45.914,65.798,62.192,50.305,65.2,56.061,45.363,48.127,35.18],"text":["Afghanistan","Bahrain","Bangladesh","Cambodia","China","Hong Kong, China","India","Indonesia","Iran","Iraq","Israel","Japan","Jordan","Korea, Dem. Rep.","Korea, Rep.","Kuwait","Lebanon","Malaysia","Mongolia","Myanmar","Nepal","Oman","Pakistan","Philippines","Saudi Arabia","Singapore","Sri Lanka","Syria","Taiwan","Thailand","Vietnam","West Bank and Gaza","Yemen, Rep."],"hoverinfo":["text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text"],"frame":"1962","type":"scatter","mode":"markers","name":"Asia","marker":{"color":"rgba(141,160,203,1)","size":[10.6966634290344,10.007634236132,13.8753568613581,10.4111294016971,55.4367132591191,10.2214939305419,40.9827724652644,16.7548635476832,11.5571235126678,10.4900736361672,10.1536302316442,16.5367103291689,10.0596222839524,10.7410559401817,11.7991696543065,10.0203568027174,10.1246871315013,10.6037916892681,10.0648587234464,11.6090255616904,10.7010981003719,10.0387781547143,13.6201849143267,12.0656947394486,10.3332806963561,10.1153604936319,10.7072326130253,10.3258815236046,10.8094075116241,11.9932191161358,12.3025924879815,10.0732438792394,10.4136180430968],"sizemode":"area","line":{"color":"rgba(141,160,203,1)"}},"textfont":{"color":"rgba(141,160,203,1)","size":[10.6966634290344,10.007634236132,13.8753568613581,10.4111294016971,55.4367132591191,10.2214939305419,40.9827724652644,16.7548635476832,11.5571235126678,10.4900736361672,10.1536302316442,16.5367103291689,10.0596222839524,10.7410559401817,11.7991696543065,10.0203568027174,10.1246871315013,10.6037916892681,10.0648587234464,11.6090255616904,10.7010981003719,10.0387781547143,13.6201849143267,12.0656947394486,10.3332806963561,10.1153604936319,10.7072326130253,10.3258815236046,10.8094075116241,11.9932191161358,12.3025924879815,10.0732438792394,10.4136180430968]},"error_y":{"color":"rgba(141,160,203,1)","width":[]},"error_x":{"color":"rgba(141,160,203,1)","width":[]},"line":{"color":"rgba(141,160,203,1)"},"xaxis":"x","yaxis":"y","visible":true},{"x":[2312.888958,10750.72111,10991.20676,1709.683679,4254.337839,5477.890018,10136.86713,13583.31351,9371.842561,10560.48553,12902.46291,6017.190733,7550.359877,10350.15906,6631.597314,8243.58234,4649.593785,12790.84956,13450.40151,5338.752143,4727.954889,4734.997586,6289.629157,7481.107598,7402.303395,5693.843879,12329.44192,20431.0927,2322.869908,12477.17707],"y":[64.82,69.54,70.25,61.93,69.51,67.13,69.9,72.35,68.75,70.51,70.3,69.51,67.96,73.68,70.29,69.24,63.728,73.23,73.47,67.64,64.39,66.8,64.531,70.33,69.15,69.69,73.37,71.32,52.098,70.76],"text":["Albania","Austria","Belgium","Bosnia and Herzegovina","Bulgaria","Croatia","Czech Republic","Denmark","Finland","France","Germany","Greece","Hungary","Iceland","Ireland","Italy","Montenegro","Netherlands","Norway","Poland","Portugal","Romania","Serbia","Slovak Republic","Slovenia","Spain","Sweden","Switzerland","Turkey","United Kingdom"],"hoverinfo":["text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text"],"frame":"1962","type":"scatter","mode":"markers","name":"Europe","marker":{"color":"rgba(231,138,195,1)","size":[10.113854627382,10.4825387764237,10.6250876534594,10.2244834125591,10.5428117846124,10.2741413707314,10.6525173112679,10.3130689312936,10.3024585907352,13.212259104352,15.028821059962,10.5725214343567,10.6827341491598,10.0083297343456,10.1890600982463,13.4661057143558,10.0282920346416,10.8016779260315,10.2442712581511,12.0659918448189,10.6115326048611,11.2709195819972,10.5157231188623,10.2851182982285,10.1039459960615,12.1225356448238,10.5120052406788,10.3826256462058,12.0290722879313,13.6332436952596],"sizemode":"area","line":{"color":"rgba(231,138,195,1)"}},"textfont":{"color":"rgba(231,138,195,1)","size":[10.113854627382,10.4825387764237,10.6250876534594,10.2244834125591,10.5428117846124,10.2741413707314,10.6525173112679,10.3130689312936,10.3024585907352,13.212259104352,15.028821059962,10.5725214343567,10.6827341491598,10.0083297343456,10.1890600982463,13.4661057143558,10.0282920346416,10.8016779260315,10.2442712581511,12.0659918448189,10.6115326048611,11.2709195819972,10.5157231188623,10.2851182982285,10.1039459960615,12.1225356448238,10.5120052406788,10.3826256462058,12.0290722879313,13.6332436952596]},"error_y":{"color":"rgba(231,138,195,1)","width":[]},"error_x":{"color":"rgba(231,138,195,1)","width":[]},"line":{"color":"rgba(231,138,195,1)"},"xaxis":"x","yaxis":"y","visible":true},{"x":[12217.22686,13175.678],"y":[70.93,71.24],"text":["Australia","New Zealand"],"hoverinfo":["text","text"],"frame":"1962","type":"scatter","mode":"markers","name":"Oceania","marker":{"color":"rgba(166,216,84,1)","size":[10.7326931713773,10.1657551065853],"sizemode":"area","line":{"color":"rgba(166,216,84,1)"}},"textfont":{"color":"rgba(166,216,84,1)","size":[10.7326931713773,10.1657551065853]},"error_y":{"color":"rgba(166,216,84,1)","width":[]},"error_x":{"color":"rgba(166,216,84,1)","width":[]},"line":{"color":"rgba(166,216,84,1)"},"xaxis":"x","yaxis":"y","visible":true}],"traces":[0,1,2,3,4]},{"name":"1967","data":[{"x":[3246.991771,5522.776375,1035.831411,1214.709294,794.8265597,412.9775136,1508.453148,1136.056615,1196.810565,1876.029643,861.5932424,2677.939642,2052.050473,3020.050513,1814.880728,915.5960025,468.7949699,516.1186438,8358.761987,734.7829124,1125.69716,708.7595409,715.5806402,1056.736457,498.6390265,713.6036483,18772.75169,1634.047282,495.5147806,545.0098873,1421.145193,2475.387562,1711.04477,566.6691539,3793.694753,1054.384891,1014.514104,4021.175739,510.9637142,1384.840593,1612.404632,1206.043465,1284.73318,7114.477971,1687.997641,2613.101665,848.2186575,1477.59676,1932.360167,908.9185217,1777.077318,569.7950712],"y":[51.407,35.985,44.885,53.298,40.697,43.548,44.799,41.478,43.601,46.472,44.056,52.04,47.35,42.074,49.293,38.987,42.189,42.115,44.598,35.857,48.072,37.197,35.492,50.654,48.492,41.536,50.227,42.881,39.487,38.487,46.289,61.557,50.335,38.113,51.159,40.118,41.04,60.542,44.1,54.425,43.563,34.113,38.977,51.927,42.858,46.633,45.757,46.769,52.053,48.051,47.768,53.995],"text":["Algeria","Angola","Benin","Botswana","Burkina Faso","Burundi","Cameroon","Central African Republic","Chad","Comoros","Congo, Dem. Rep.","Congo, Rep.","Cote d'Ivoire","Djibouti","Egypt","Equatorial Guinea","Eritrea","Ethiopia","Gabon","Gambia","Ghana","Guinea","Guinea-Bissau","Kenya","Lesotho","Liberia","Libya","Madagascar","Malawi","Mali","Mauritania","Mauritius","Morocco","Mozambique","Namibia","Niger","Nigeria","Reunion","Rwanda","Sao Tome and Principe","Senegal","Sierra Leone","Somalia","South Africa","Sudan","Swaziland","Tanzania","Togo","Tunisia","Uganda","Zambia","Zimbabwe"],"hoverinfo":["text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text"],"frame":"1967","type":"scatter","mode":"markers","name":"Africa","marker":{"color":"rgba(102,194,165,1)","size":[10.8668465864148,10.3540596439657,10.1615769300748,10.0336849100439,10.3459010881794,10.2232541075223,10.4283214486572,10.1142300872125,10.2345143532809,10.0107407720683,11.3569424048116,10.0764262442743,10.319755747337,10.0046143132706,12.1582406393257,10.0136405696249,10.1201463267269,11.897453312066,10.0292800652735,10.0259076155943,10.5753866958882,10.2314737497562,10.0369437184546,10.6915054805066,10.0639100065505,10.0832273841164,10.115976408831,10.4282566082938,10.2789665175625,10.3516671710628,10.0798922688359,10.0497767866699,11.004021289374,10.5884022726631,10.044134378248,10.3053674659427,13.2234356719153,10.0241624542771,10.2314506119844,10.0007354944798,10.2665846700234,10.1776065599519,10.229932664951,11.4290345144382,10.8638182001796,10.024617428869,10.8563911119454,10.1143605869755,10.3226302912784,10.6033759601592,10.2620908233227,10.3368573590534],"sizemode":"area","line":{"color":"rgba(102,194,165,1)"}},"textfont":{"color":"rgba(102,194,165,1)","size":[10.8668465864148,10.3540596439657,10.1615769300748,10.0336849100439,10.3459010881794,10.2232541075223,10.4283214486572,10.1142300872125,10.2345143532809,10.0107407720683,11.3569424048116,10.0764262442743,10.319755747337,10.0046143132706,12.1582406393257,10.0136405696249,10.1201463267269,11.897453312066,10.0292800652735,10.0259076155943,10.5753866958882,10.2314737497562,10.0369437184546,10.6915054805066,10.0639100065505,10.0832273841164,10.115976408831,10.4282566082938,10.2789665175625,10.3516671710628,10.0798922688359,10.0497767866699,11.004021289374,10.5884022726631,10.044134378248,10.3053674659427,13.2234356719153,10.0241624542771,10.2314506119844,10.0007354944798,10.2665846700234,10.1776065599519,10.229932664951,11.4290345144382,10.8638182001796,10.024617428869,10.8563911119454,10.1143605869755,10.3226302912784,10.6033759601592,10.2620908233227,10.3368573590534]},"error_y":{"color":"rgba(102,194,165,1)","width":[]},"error_x":{"color":"rgba(102,194,165,1)","width":[]},"line":{"color":"rgba(102,194,165,1)"},"xaxis":"x","yaxis":"y","visible":true},{"x":[8052.953021,2586.886053,3429.864357,16076.58803,5106.654313,2678.729839,4161.727834,5690.268015,1653.723003,4579.074215,4358.595393,3242.531147,1452.057666,2538.269358,6124.703451,5754.733883,4643.393534,4421.009084,2299.376311,5788.09333,6929.277714,5621.368472,19530.36557,5444.61962,9541.474188],"y":[65.634,45.032,57.632,72.13,60.523,59.963,65.424,68.29,56.751,56.678,55.855,50.016,46.243,50.924,67.51,60.11,51.884,64.071,64.951,51.445,71.1,65.4,70.76,68.468,63.479],"text":["Argentina","Bolivia","Brazil","Canada","Chile","Colombia","Costa Rica","Cuba","Dominican Republic","Ecuador","El Salvador","Guatemala","Haiti","Honduras","Jamaica","Mexico","Nicaragua","Panama","Paraguay","Peru","Puerto Rico","Trinidad and Tobago","United States","Uruguay","Venezuela"],"hoverinfo":["text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text"],"frame":"1967","type":"scatter","mode":"markers","name":"Americas","marker":{"color":"rgba(252,141,98,1)","size":[11.5612340504413,10.2716916335497,16.0055698782188,11.4169159187745,10.6005512409181,11.344858481679,10.1043387921576,10.5514380100512,10.2722704873622,10.3666833801867,10.2165610804546,10.3160634640338,10.2906299338753,10.1665836299233,10.1229294798824,13.2717456330594,10.1232293836263,10.0918327241328,10.1520659408143,10.823963285915,10.1767036408285,10.0614375411151,23.5585970042379,10.1835028695861,10.6586102578357],"sizemode":"area","line":{"color":"rgba(252,141,98,1)"}},"textfont":{"color":"rgba(252,141,98,1)","size":[11.5612340504413,10.2716916335497,16.0055698782188,11.4169159187745,10.6005512409181,11.344858481679,10.1043387921576,10.5514380100512,10.2722704873622,10.3666833801867,10.2165610804546,10.3160634640338,10.2906299338753,10.1665836299233,10.1229294798824,13.2717456330594,10.1232293836263,10.0918327241328,10.1520659408143,10.823963285915,10.1767036408285,10.0614375411151,23.5585970042379,10.1835028695861,10.6586102578357]},"error_y":{"color":"rgba(252,141,98,1)","width":[]},"error_x":{"color":"rgba(252,141,98,1)","width":[]},"line":{"color":"rgba(252,141,98,1)"},"xaxis":"x","yaxis":"y","visible":true},{"x":[836.1971382,14804.6727,721.1860862,523.4323142,612.7056934,6197.962814,700.7706107,762.4317721,5906.731805,8931.459811,8393.741404,9847.788607,2741.796252,2143.540609,2029.228142,80894.88326,6006.983042,2277.742396,1226.04113,349,676.4422254,4720.942687,942.4082588,1814.12743,16903.04886,4977.41854,1135.514326,1881.923632,2643.858681,1295.46066,637.1232887,2649.715007,862.4421463],"y":[34.02,59.923,43.453,45.415,58.38112,70,47.193,45.964,52.469,54.459,70.75,71.43,51.629,59.942,57.716,64.624,63.87,59.371,51.253,49.379,41.472,46.988,49.8,56.393,49.901,67.946,64.266,53.655,67.5,58.285,47.838,51.631,36.984],"text":["Afghanistan","Bahrain","Bangladesh","Cambodia","China","Hong Kong, China","India","Indonesia","Iran","Iraq","Israel","Japan","Jordan","Korea, Dem. Rep.","Korea, Rep.","Kuwait","Lebanon","Malaysia","Mongolia","Myanmar","Nepal","Oman","Pakistan","Philippines","Saudi Arabia","Singapore","Sri Lanka","Syria","Taiwan","Thailand","Vietnam","West Bank and Gaza","Yemen, Rep."],"hoverinfo":["text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text"],"frame":"1967","type":"scatter","mode":"markers","name":"Asia","marker":{"color":"rgba(141,160,203,1)","size":[10.7834050243402,10.0097035992662,14.2836870021883,10.4709496193903,61.4962158500357,10.249996389226,44.5319291979482,17.4588933880222,11.8072025562938,10.5773707427547,10.1797493633292,16.8775332565939,10.0815655597293,10.857052961423,12.0524356359194,10.0351497562323,10.1451661753669,10.6890050995884,10.074360908068,11.7616280394484,10.7645483546195,10.0446896165177,14.1348964552672,12.4090985863485,10.3793630156263,10.130881229036,10.7970167229402,10.3836366098505,10.9274684357585,12.3181616147726,12.6894348736508,10.0738924193793,10.4559829619546],"sizemode":"area","line":{"color":"rgba(141,160,203,1)"}},"textfont":{"color":"rgba(141,160,203,1)","size":[10.7834050243402,10.0097035992662,14.2836870021883,10.4709496193903,61.4962158500357,10.249996389226,44.5319291979482,17.4588933880222,11.8072025562938,10.5773707427547,10.1797493633292,16.8775332565939,10.0815655597293,10.857052961423,12.0524356359194,10.0351497562323,10.1451661753669,10.6890050995884,10.074360908068,11.7616280394484,10.7645483546195,10.0446896165177,14.1348964552672,12.4090985863485,10.3793630156263,10.130881229036,10.7970167229402,10.3836366098505,10.9274684357585,12.3181616147726,12.6894348736508,10.0738924193793,10.4559829619546]},"error_y":{"color":"rgba(141,160,203,1)","width":[]},"error_x":{"color":"rgba(141,160,203,1)","width":[]},"line":{"color":"rgba(141,160,203,1)"},"xaxis":"x","yaxis":"y","visible":true},{"x":[2760.196931,12834.6024,13149.04119,2172.352423,5577.0028,6960.297861,11399.44489,15937.21123,10921.63626,12999.91766,14745.62561,8513.097016,9326.64467,13319.89568,7655.568963,10022.40131,5907.850937,15363.25136,16361.87647,6557.152776,6361.517993,6470.866545,7991.707066,8412.902397,9405.489397,7993.512294,15258.29697,22966.14432,2826.356387,14142.85089],"y":[66.22,70.14,70.94,64.79,70.42,68.5,70.38,72.96,69.83,71.55,70.8,71,69.5,73.73,71.08,71.06,67.178,73.82,74.08,69.61,66.6,66.8,66.914,70.98,69.18,71.44,74.16,72.77,54.336,71.36],"text":["Albania","Austria","Belgium","Bosnia and Herzegovina","Bulgaria","Croatia","Czech Republic","Denmark","Finland","France","Germany","Greece","Hungary","Iceland","Ireland","Italy","Montenegro","Netherlands","Norway","Poland","Portugal","Romania","Serbia","Slovak Republic","Slovenia","Spain","Sweden","Switzerland","Turkey","United Kingdom"],"hoverinfo":["text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text"],"frame":"1967","type":"scatter","mode":"markers","name":"Europe","marker":{"color":"rgba(231,138,195,1)","size":[10.131322143507,10.4994064168079,10.6481639975232,10.2405911238844,10.5631020406411,10.2808171297866,10.6671799015258,10.3261667529505,10.3102599784987,13.3791377238022,15.2082811670175,10.5908274387597,10.6936834341862,10.0094643041988,10.1938446345341,13.5905923867547,10.0301012172861,10.8556751378276,10.2543112765237,12.1653519208637,10.6172112556334,11.3121507500379,10.5399639958525,10.2991002011769,10.1083107763125,12.2380343508092,10.5329140737742,10.4097220927996,12.2763271583403,13.7470214697477],"sizemode":"area","line":{"color":"rgba(231,138,195,1)"}},"textfont":{"color":"rgba(231,138,195,1)","size":[10.131322143507,10.4994064168079,10.6481639975232,10.2405911238844,10.5631020406411,10.2808171297866,10.6671799015258,10.3261667529505,10.3102599784987,13.3791377238022,15.2082811670175,10.5908274387597,10.6936834341862,10.0094643041988,10.1938446345341,13.5905923867547,10.0301012172861,10.8556751378276,10.2543112765237,12.1653519208637,10.6172112556334,11.3121507500379,10.5399639958525,10.2991002011769,10.1083107763125,12.2380343508092,10.5329140737742,10.4097220927996,12.2763271583403,13.7470214697477]},"error_y":{"color":"rgba(231,138,195,1)","width":[]},"error_x":{"color":"rgba(231,138,195,1)","width":[]},"line":{"color":"rgba(231,138,195,1)"},"xaxis":"x","yaxis":"y","visible":true},{"x":[14526.12465,14463.91893],"y":[71.1,71.52],"text":["Australia","New Zealand"],"hoverinfo":["text","text"],"frame":"1967","type":"scatter","mode":"markers","name":"Oceania","marker":{"color":"rgba(166,216,84,1)","size":[10.8062218704445,10.1821085287613],"sizemode":"area","line":{"color":"rgba(166,216,84,1)"}},"textfont":{"color":"rgba(166,216,84,1)","size":[10.8062218704445,10.1821085287613]},"error_y":{"color":"rgba(166,216,84,1)","width":[]},"error_x":{"color":"rgba(166,216,84,1)","width":[]},"line":{"color":"rgba(166,216,84,1)"},"xaxis":"x","yaxis":"y","visible":true}],"traces":[0,1,2,3,4]},{"name":"1972","data":[{"x":[4182.663766,5473.288005,1085.796879,2263.611114,854.7359763,464.0995039,1684.146528,1070.013275,1104.103987,1937.577675,904.8960685,3213.152683,2378.201111,3694.212352,2024.008147,672.4122571,514.3242082,566.2439442,11401.94841,756.0868363,1178.223708,741.6662307,820.2245876,1222.359968,496.5815922,803.0054535,21011.49721,1748.562982,584.6219709,581.3688761,1586.851781,2575.484158,1930.194975,724.9178037,3746.080948,954.2092363,1698.388838,5047.658563,590.5806638,1532.985254,1597.712056,1353.759762,1254.576127,7765.962636,1659.652775,3364.836625,915.9850592,1649.660188,2753.285994,950.735869,1773.498265,799.3621758],"y":[54.518,37.928,47.014,56.024,43.591,44.057,47.049,43.457,45.569,48.944,45.989,54.907,49.801,44.366,51.137,40.516,44.142,43.515,48.69,38.308,49.875,38.842,36.486,53.559,49.767,42.614,52.773,44.851,41.766,39.977,48.437,62.944,52.862,40.328,53.867,40.546,42.821,64.274,44.6,56.48,45.815,35.4,40.973,53.696,45.083,49.552,47.62,49.759,55.602,51.016,50.107,55.635],"text":["Algeria","Angola","Benin","Botswana","Burkina Faso","Burundi","Cameroon","Central African Republic","Chad","Comoros","Congo, Dem. Rep.","Congo, Rep.","Cote d'Ivoire","Djibouti","Egypt","Equatorial Guinea","Eritrea","Ethiopia","Gabon","Gambia","Ghana","Guinea","Guinea-Bissau","Kenya","Lesotho","Liberia","Libya","Madagascar","Malawi","Mali","Mauritania","Mauritius","Morocco","Mozambique","Namibia","Niger","Nigeria","Reunion","Rwanda","Sao Tome and Principe","Senegal","Sierra Leone","Somalia","South Africa","Sudan","Swaziland","Tanzania","Togo","Tunisia","Uganda","Zambia","Zimbabwe"],"hoverinfo":["text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text"],"frame":"1972","type":"scatter","mode":"markers","name":"Africa","marker":{"color":"rgba(102,194,165,1)","size":[11.003372271463,10.3982458945044,10.1843784192509,10.0381766409011,10.3667831660933,10.2368360478082,10.4751103913822,10.1274453723067,10.2620272115136,10.0129691647253,11.5662468248082,10.0873943671326,10.4103156210101,10.0081109834354,12.3716151913115,10.0148513098419,10.1501686435286,12.0960747020442,10.0326226201326,10.0311977702104,10.6343509525317,10.2560427189852,10.0385868415158,10.8179969486883,10.0721276011939,10.0970978981458,10.1449602560234,10.4793012629534,10.3188088732725,10.3936934184646,10.0868707300085,10.0540101798688,11.1330450126315,10.6654385623774,10.0519931667964,10.3412822019569,13.6638268470781,10.0274119120249,10.2683783592337,10.0011319079857,10.3090964011145,10.1924053832259,10.2580066312126,11.6295952455587,10.9921946118515,10.0286726817012,10.9996733676174,10.1362562221486,10.3578844063692,10.6914217340583,10.3034860716093,10.3959441981103],"sizemode":"area","line":{"color":"rgba(102,194,165,1)"}},"textfont":{"color":"rgba(102,194,165,1)","size":[11.003372271463,10.3982458945044,10.1843784192509,10.0381766409011,10.3667831660933,10.2368360478082,10.4751103913822,10.1274453723067,10.2620272115136,10.0129691647253,11.5662468248082,10.0873943671326,10.4103156210101,10.0081109834354,12.3716151913115,10.0148513098419,10.1501686435286,12.0960747020442,10.0326226201326,10.0311977702104,10.6343509525317,10.2560427189852,10.0385868415158,10.8179969486883,10.0721276011939,10.0970978981458,10.1449602560234,10.4793012629534,10.3188088732725,10.3936934184646,10.0868707300085,10.0540101798688,11.1330450126315,10.6654385623774,10.0519931667964,10.3412822019569,13.6638268470781,10.0274119120249,10.2683783592337,10.0011319079857,10.3090964011145,10.1924053832259,10.2580066312126,11.6295952455587,10.9921946118515,10.0286726817012,10.9996733676174,10.1362562221486,10.3578844063692,10.6914217340583,10.3034860716093,10.3959441981103]},"error_y":{"color":"rgba(102,194,165,1)","width":[]},"error_x":{"color":"rgba(102,194,165,1)","width":[]},"line":{"color":"rgba(102,194,165,1)"},"xaxis":"x","yaxis":"y","visible":true},{"x":[9443.038526,2980.331339,4985.711467,18970.57086,5494.024437,3264.660041,5118.146939,5305.445256,2189.874499,5280.99471,4520.246008,4031.408271,1654.456946,2529.842345,7433.889293,6809.40669,4688.593267,5364.249663,2523.337977,5937.827283,9123.041742,6619.551419,21806.03594,5703.408898,10505.25966],"y":[67.065,46.714,59.504,72.88,63.441,61.623,67.849,70.723,59.631,58.796,58.207,53.738,48.042,53.884,69,62.361,55.151,66.216,65.815,55.448,72.16,65.9,71.34,68.673,65.712],"text":["Argentina","Bolivia","Brazil","Canada","Chile","Colombia","Costa Rica","Cuba","Dominican Republic","Ecuador","El Salvador","Guatemala","Haiti","Honduras","Jamaica","Mexico","Nicaragua","Panama","Paraguay","Peru","Puerto Rico","Trinidad and Tobago","United States","Uruguay","Venezuela"],"hoverinfo":["text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text"],"frame":"1972","type":"scatter","mode":"markers","name":"Americas","marker":{"color":"rgba(252,141,98,1)","size":[11.6872000386676,10.3075385943209,16.8785419678892,11.5168883608617,10.6591543708641,11.5345242571724,10.1211344256118,10.5986701878498,10.3147363524278,10.4258059838229,10.2546446242445,10.3473784929224,10.3165772727238,10.1982842200886,10.132247381366,13.8170008755762,10.1448941188528,10.1062271482984,10.1743245455164,10.9483544040942,10.1902294088837,10.0624643394591,24.3219387138213,10.1890277463177,10.7818818218248],"sizemode":"area","line":{"color":"rgba(252,141,98,1)"}},"textfont":{"color":"rgba(252,141,98,1)","size":[11.6872000386676,10.3075385943209,16.8785419678892,11.5168883608617,10.6591543708641,11.5345242571724,10.1211344256118,10.5986701878498,10.3147363524278,10.4258059838229,10.2546446242445,10.3473784929224,10.3165772727238,10.1982842200886,10.132247381366,13.8170008755762,10.1448941188528,10.1062271482984,10.1743245455164,10.9483544040942,10.1902294088837,10.0624643394591,24.3219387138213,10.1890277463177,10.7818818218248]},"error_y":{"color":"rgba(252,141,98,1)","width":[]},"error_x":{"color":"rgba(252,141,98,1)","width":[]},"line":{"color":"rgba(252,141,98,1)"},"xaxis":"x","yaxis":"y","visible":true},{"x":[739.9811058,18268.65839,630.2336265,421.6240257,676.9000921,8315.928145,724.032527,1111.107907,9613.818607,9576.037596,12786.93223,14778.78636,2110.856309,3701.621503,3030.87665,109347.867,7486.384341,2849.09478,1421.741975,357,674.7881296,10618.03855,1049.938981,1989.37407,24837.42865,8597.756202,1213.39553,2571.423014,4062.523897,1524.358936,699.5016441,3133.409277,1265.047031],"y":[36.088,63.3,45.252,40.317,63.11888,72,50.651,49.203,55.234,56.95,71.63,73.42,56.528,63.983,62.612,67.712,65.421,63.01,53.754,53.07,43.971,52.143,51.929,58.065,53.886,69.521,65.042,57.296,69.39,60.405,50.254,56.532,39.848],"text":["Afghanistan","Bahrain","Bangladesh","Cambodia","China","Hong Kong, China","India","Indonesia","Iran","Iraq","Israel","Japan","Jordan","Korea, Dem. Rep.","Korea, Rep.","Kuwait","Lebanon","Malaysia","Mongolia","Myanmar","Nepal","Oman","Pakistan","Philippines","Saudi Arabia","Singapore","Sri Lanka","Syria","Taiwan","Thailand","Vietnam","West Bank and Gaza","Yemen, Rep."],"hoverinfo":["text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text"],"frame":"1972","type":"scatter","mode":"markers","name":"Asia","marker":{"color":"rgba(141,160,203,1)","size":[10.888616636042,10.0116568640234,14.82543922701,10.504430384669,68.8320498044367,10.276812998462,48.6953630574426,18.2737661232436,12.0854018417249,10.6826321791568,10.2072080969218,17.311826775731,10.1060337875095,11.0047683186132,12.2827213054593,10.0533686015364,10.1788233746871,10.7768183354685,10.0860321734774,11.9388209861349,10.8431009532948,10.0524892297028,14.7276071311917,12.7840493176259,10.437689174841,10.1428118558989,10.8843353292272,10.4532792553074,11.0351271227744,12.6766198924843,13.0437433681058,10.0702706414396,10.5014592627127],"sizemode":"area","line":{"color":"rgba(141,160,203,1)"}},"textfont":{"color":"rgba(141,160,203,1)","size":[10.888616636042,10.0116568640234,14.82543922701,10.504430384669,68.8320498044367,10.276812998462,48.6953630574426,18.2737661232436,12.0854018417249,10.6826321791568,10.2072080969218,17.311826775731,10.1060337875095,11.0047683186132,12.2827213054593,10.0533686015364,10.1788233746871,10.7768183354685,10.0860321734774,11.9388209861349,10.8431009532948,10.0524892297028,14.7276071311917,12.7840493176259,10.437689174841,10.1428118558989,10.8843353292272,10.4532792553074,11.0351271227744,12.6766198924843,13.0437433681058,10.0702706414396,10.5014592627127]},"error_y":{"color":"rgba(141,160,203,1)","width":[]},"error_x":{"color":"rgba(141,160,203,1)","width":[]},"line":{"color":"rgba(141,160,203,1)"},"xaxis":"x","yaxis":"y","visible":true},{"x":[3313.422188,16661.6256,16672.14356,2860.16975,6597.494398,9164.090127,13108.4536,18866.20721,14358.8759,16107.19171,18016.18027,12724.82957,10168.65611,15798.06362,9530.772896,12269.27378,7778.414017,18794.74567,18965.05551,8006.506993,9022.247417,8011.414402,10522.06749,9674.167626,12383.4862,10638.75131,17832.02464,27195.11304,3450.69638,15895.11641],"y":[67.69,70.63,71.44,67.45,70.9,69.61,70.29,73.47,70.87,72.38,71,72.34,69.76,74.46,71.28,72.19,70.636,73.75,74.34,70.85,69.26,69.21,68.7,70.35,69.82,73.06,74.72,73.78,57.005,72.01],"text":["Albania","Austria","Belgium","Bosnia and Herzegovina","Bulgaria","Croatia","Czech Republic","Denmark","Finland","France","Germany","Greece","Hungary","Iceland","Ireland","Italy","Montenegro","Netherlands","Norway","Poland","Portugal","Romania","Serbia","Slovak Republic","Slovenia","Spain","Sweden","Switzerland","Turkey","United Kingdom"],"hoverinfo":["text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text"],"frame":"1972","type":"scatter","mode":"markers","name":"Europe","marker":{"color":"rgba(231,138,195,1)","size":[10.1503984514271,10.5108185255228,10.6585794074734,10.2565623291814,10.5812555678107,10.2842942113364,10.669026077304,10.3365955404914,10.3125746429655,13.5267689932791,15.3685825847649,10.6025797204969,10.7053321078479,10.0101877178951,10.2023284841855,13.7065176740782,10.0319196823405,10.9057081463123,10.2643434457998,12.250952598786,10.6081643186157,11.4061920734537,10.5633110313703,10.3094197156422,10.1115594832772,12.3515313323974,10.5502750469441,10.4328189127676,12.5549111177589,13.8234648455286],"sizemode":"area","line":{"color":"rgba(231,138,195,1)"}},"textfont":{"color":"rgba(231,138,195,1)","size":[10.1503984514271,10.5108185255228,10.6585794074734,10.2565623291814,10.5812555678107,10.2842942113364,10.669026077304,10.3365955404914,10.3125746429655,13.5267689932791,15.3685825847649,10.6025797204969,10.7053321078479,10.0101877178951,10.2023284841855,13.7065176740782,10.0319196823405,10.9057081463123,10.2643434457998,12.250952598786,10.6081643186157,11.4061920734537,10.5633110313703,10.3094197156422,10.1115594832772,12.3515313323974,10.5502750469441,10.4328189127676,12.5549111177589,13.8234648455286]},"error_y":{"color":"rgba(231,138,195,1)","width":[]},"error_x":{"color":"rgba(231,138,195,1)","width":[]},"line":{"color":"rgba(231,138,195,1)"},"xaxis":"x","yaxis":"y","visible":true},{"x":[16788.62948,16046.03728],"y":[71.93,71.89],"text":["Australia","New Zealand"],"hoverinfo":["text","text"],"frame":"1972","type":"scatter","mode":"markers","name":"Oceania","marker":{"color":"rgba(166,216,84,1)","size":[10.8952740350363,10.1958239719427],"sizemode":"area","line":{"color":"rgba(166,216,84,1)"}},"textfont":{"color":"rgba(166,216,84,1)","size":[10.8952740350363,10.1958239719427]},"error_y":{"color":"rgba(166,216,84,1)","width":[]},"error_x":{"color":"rgba(166,216,84,1)","width":[]},"line":{"color":"rgba(166,216,84,1)"},"xaxis":"x","yaxis":"y","visible":true}],"traces":[0,1,2,3,4]},{"name":"1977","data":[{"x":[4910.416756,3008.647355,1029.161251,3214.857818,743.3870368,556.1032651,1783.432873,1109.374338,1133.98495,1172.603047,795.757282,3259.178978,2517.736547,3081.761022,2785.493582,958.5668124,505.7538077,556.8083834,21745.57328,884.7552507,993.2239571,874.6858643,764.7259628,1267.613204,745.3695408,640.3224383,21951.21176,1544.228586,663.2236766,686.3952693,1497.492223,3710.982963,2370.619976,502.3197334,3876.485958,808.8970728,1981.951806,4319.804067,670.0806011,1737.561657,1561.769116,1348.285159,1450.992513,8028.651439,2202.988423,3781.410618,962.4922932,1532.776998,3120.876811,843.7331372,1588.688299,685.5876821],"y":[58.014,39.483,49.19,59.319,46.137,45.91,49.355,46.775,47.383,50.939,47.804,55.625,52.374,46.519,53.319,42.024,44.535,44.51,52.79,41.842,51.756,40.762,37.465,56.155,52.208,43.764,57.442,46.881,43.767,41.714,50.852,64.93,55.73,42.495,56.437,41.291,44.514,67.064,45,58.55,48.879,36.788,41.974,55.527,47.8,52.537,49.919,52.887,59.837,50.35,51.386,57.674],"text":["Algeria","Angola","Benin","Botswana","Burkina Faso","Burundi","Cameroon","Central African Republic","Chad","Comoros","Congo, Dem. Rep.","Congo, Rep.","Cote d'Ivoire","Djibouti","Egypt","Equatorial Guinea","Eritrea","Ethiopia","Gabon","Gambia","Ghana","Guinea","Guinea-Bissau","Kenya","Lesotho","Liberia","Libya","Madagascar","Malawi","Mali","Mauritania","Mauritius","Morocco","Mozambique","Namibia","Niger","Nigeria","Reunion","Rwanda","Sao Tome and Principe","Senegal","Sierra Leone","Somalia","South Africa","Sudan","Swaziland","Tanzania","Togo","Tunisia","Uganda","Zambia","Zimbabwe"],"hoverinfo":["text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text"],"frame":"1977","type":"scatter","mode":"markers","name":"Africa","marker":{"color":"rgba(102,194,165,1)","size":[11.1666346414677,10.416525211979,10.2121478405636,10.0492418877984,10.397885245578,10.2576144493936,10.5391888463715,10.1438447287611,10.2954160399823,10.0167034236322,11.8033032615988,10.1007931845816,10.5050424776994,10.0115131231758,12.6430196161779,10.0090547178612,10.1673994582007,12.3586731912857,10.0441157451752,10.0374206022641,10.7151606783829,10.2844113335085,10.0467681255558,10.9856003468952,10.0813243535775,10.1121810634765,10.1816739618206,10.542417282191,10.3806630990386,10.4389786790362,10.0953274149603,10.058220776561,11.2515507416587,10.7554145997679,10.0625890377158,10.3837235641904,14.2418676296722,10.0294910353401,10.3137632692059,10.0018281569824,10.3549732788123,10.2102797555679,10.2930548952129,11.8476036994302,11.1633709188399,10.0335404866661,11.1650485096733,10.1534717481455,10.4057675814162,10.7779305865861,10.351949329023,10.4492478910302],"sizemode":"area","line":{"color":"rgba(102,194,165,1)"}},"textfont":{"color":"rgba(102,194,165,1)","size":[11.1666346414677,10.416525211979,10.2121478405636,10.0492418877984,10.397885245578,10.2576144493936,10.5391888463715,10.1438447287611,10.2954160399823,10.0167034236322,11.8033032615988,10.1007931845816,10.5050424776994,10.0115131231758,12.6430196161779,10.0090547178612,10.1673994582007,12.3586731912857,10.0441157451752,10.0374206022641,10.7151606783829,10.2844113335085,10.0467681255558,10.9856003468952,10.0813243535775,10.1121810634765,10.1816739618206,10.542417282191,10.3806630990386,10.4389786790362,10.0953274149603,10.058220776561,11.2515507416587,10.7554145997679,10.0625890377158,10.3837235641904,14.2418676296722,10.0294910353401,10.3137632692059,10.0018281569824,10.3549732788123,10.2102797555679,10.2930548952129,11.8476036994302,11.1633709188399,10.0335404866661,11.1650485096733,10.1534717481455,10.4057675814162,10.7779305865861,10.351949329023,10.4492478910302]},"error_y":{"color":"rgba(102,194,165,1)","width":[]},"error_x":{"color":"rgba(102,194,165,1)","width":[]},"line":{"color":"rgba(102,194,165,1)"},"xaxis":"x","yaxis":"y","visible":true},{"x":[10079.02674,3548.097832,6660.118654,22090.88306,4756.763836,3815.80787,5926.876967,6380.494966,2681.9889,6679.62326,5138.922374,4879.992748,1874.298931,3203.208066,6650.195573,7674.929108,5486.371089,5351.912144,3248.373311,6281.290855,9770.524921,7899.554209,24072.63213,6504.339663,13143.95095],"y":[68.481,50.023,61.489,74.21,67.052,63.837,70.75,72.649,61.788,61.31,56.696,56.029,49.923,57.402,70.11,65.032,57.47,68.681,66.353,58.447,73.44,68.3,73.38,69.481,67.456],"text":["Argentina","Bolivia","Brazil","Canada","Chile","Colombia","Costa Rica","Cuba","Dominican Republic","Ecuador","El Salvador","Guatemala","Haiti","Honduras","Jamaica","Mexico","Nicaragua","Panama","Paraguay","Peru","Puerto Rico","Trinidad and Tobago","United States","Uruguay","Venezuela"],"hoverinfo":["text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text"],"frame":"1977","type":"scatter","mode":"markers","name":"Americas","marker":{"color":"rgba(252,141,98,1)","size":[11.8376316610595,10.342609996093,17.7981757766663,11.6200800928644,10.7193718893523,11.7086733241895,10.1398126137008,10.6469004977264,10.3578361514883,10.4927086120292,10.2882034709714,10.3851803565232,10.3309276736953,10.2044330658749,10.1431131247031,14.3477146086821,10.1702630816599,10.1214747351401,10.1996047794052,11.0872765207201,10.2061798652645,10.0668195642882,25.0278796385549,10.1920304694195,10.9175629440766],"sizemode":"area","line":{"color":"rgba(252,141,98,1)"}},"textfont":{"color":"rgba(252,141,98,1)","size":[11.8376316610595,10.342609996093,17.7981757766663,11.6200800928644,10.7193718893523,11.7086733241895,10.1398126137008,10.6469004977264,10.3578361514883,10.4927086120292,10.2882034709714,10.3851803565232,10.3309276736953,10.2044330658749,10.1431131247031,14.3477146086821,10.1702630816599,10.1214747351401,10.1996047794052,11.0872765207201,10.2061798652645,10.0668195642882,25.0278796385549,10.1920304694195,10.9175629440766]},"error_y":{"color":"rgba(252,141,98,1)","width":[]},"error_x":{"color":"rgba(252,141,98,1)","width":[]},"line":{"color":"rgba(252,141,98,1)"},"xaxis":"x","yaxis":"y","visible":true},{"x":[786.11336,19340.10196,659.8772322,524.9721832,741.2374699,11186.14125,813.337323,1382.702056,11888.59508,14688.23507,13306.61921,16610.37701,2852.351568,4106.301249,4657.22102,59265.47714,8659.696836,3827.921571,1647.511665,371,694.1124398,11848.34392,1175.921193,2373.204287,34167.7626,11210.08948,1348.775651,3195.484582,5596.519826,1961.224635,713.5371196,3682.831494,1829.765177],"y":[38.438,65.593,46.923,31.22,63.96736,73.6,54.208,52.702,57.702,60.413,73.06,75.38,61.134,67.159,64.766,69.343,66.099,65.256,55.491,56.059,46.748,57.367,54.043,60.06,58.69,70.795,65.949,61.195,70.59,62.494,55.764,60.765,44.175],"text":["Afghanistan","Bahrain","Bangladesh","Cambodia","China","Hong Kong, China","India","Indonesia","Iran","Iraq","Israel","Japan","Jordan","Korea, Dem. Rep.","Korea, Rep.","Kuwait","Lebanon","Malaysia","Mongolia","Myanmar","Nepal","Oman","Pakistan","Philippines","Saudi Arabia","Singapore","Sri Lanka","Syria","Taiwan","Thailand","Vietnam","West Bank and Gaza","Yemen, Rep."],"hoverinfo":["text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text"],"frame":"1977","type":"scatter","mode":"markers","name":"Asia","marker":{"color":"rgba(141,160,203,1)","size":[11.011534308153,10.016203197292,15.4853783710301,10.4722150302715,74.3895514767209,10.3087554090561,53.2683150014775,19.3277974198366,12.4175673520838,10.8069489015506,10.2345110088832,17.7680435725119,10.1281546576291,11.1101563643564,12.4827708897573,10.0737368707602,10.2085659223841,10.8726400387568,10.1001946739011,12.1477910346155,10.9468868277852,10.0644664733744,15.3300604471065,13.1936234378909,10.5506990346677,10.1546128020351,10.9594206747867,10.5373213074,11.1415442874641,13.009157586529,13.4449681654102,10.0819773301633,10.5695017162543],"sizemode":"area","line":{"color":"rgba(141,160,203,1)"}},"textfont":{"color":"rgba(141,160,203,1)","size":[11.011534308153,10.016203197292,15.4853783710301,10.4722150302715,74.3895514767209,10.3087554090561,53.2683150014775,19.3277974198366,12.4175673520838,10.8069489015506,10.2345110088832,17.7680435725119,10.1281546576291,11.1101563643564,12.4827708897573,10.0737368707602,10.2085659223841,10.8726400387568,10.1001946739011,12.1477910346155,10.9468868277852,10.0644664733744,15.3300604471065,13.1936234378909,10.5506990346677,10.1546128020351,10.9594206747867,10.5373213074,11.1415442874641,13.009157586529,13.4449681654102,10.0819773301633,10.5695017162543]},"error_y":{"color":"rgba(141,160,203,1)","width":[]},"error_x":{"color":"rgba(141,160,203,1)","width":[]},"line":{"color":"rgba(141,160,203,1)"},"xaxis":"x","yaxis":"y","visible":true},{"x":[3533.00391,19749.4223,19117.97448,3528.481305,7612.240438,11305.38517,14800.16062,20422.9015,15605.42283,18292.63514,20512.92123,14195.52428,11674.83737,19654.96247,11150.98113,14255.98475,9595.929905,21209.0592,23311.34939,9508.141454,10172.48572,9356.39724,12980.66956,10922.66404,15277.03017,13236.92117,18855.72521,26982.29052,4269.122326,17428.74846],"y":[68.93,72.17,72.8,69.86,70.81,70.64,70.71,74.69,72.52,73.83,72.5,73.68,69.95,76.11,72.03,73.48,73.066,75.24,75.37,70.67,70.41,69.46,70.3,70.45,70.97,74.39,75.44,75.39,59.507,72.76],"text":["Albania","Austria","Belgium","Bosnia and Herzegovina","Bulgaria","Croatia","Czech Republic","Denmark","Finland","France","Germany","Greece","Hungary","Iceland","Ireland","Italy","Montenegro","Netherlands","Norway","Poland","Portugal","Romania","Serbia","Slovak Republic","Slovenia","Spain","Sweden","Switzerland","Turkey","United Kingdom"],"hoverinfo":["text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text"],"frame":"1977","type":"scatter","mode":"markers","name":"Europe","marker":{"color":"rgba(231,138,195,1)","size":[10.1671541568681,10.5124722278012,10.6662715221613,10.2747858839435,10.5963273348881,10.2906665174909,10.6894853960486,10.3432040020746,10.3193484133489,13.6245768592774,15.3306124092314,10.6312358167156,10.721923050513,10.0110441567159,10.2192211051727,13.8221165072353,10.0341307387319,10.9414123217781,10.2718649962055,12.3589090054494,10.6554056423182,11.4741685945836,10.588774797614,10.3254161745545,10.1151365554927,12.4829756487996,10.5591039155818,10.4270190446423,12.8901071301963,13.8302901469376],"sizemode":"area","line":{"color":"rgba(231,138,195,1)"}},"textfont":{"color":"rgba(231,138,195,1)","size":[10.1671541568681,10.5124722278012,10.6662715221613,10.2747858839435,10.5963273348881,10.2906665174909,10.6894853960486,10.3432040020746,10.3193484133489,13.6245768592774,15.3306124092314,10.6312358167156,10.721923050513,10.0110441567159,10.2192211051727,13.8221165072353,10.0341307387319,10.9414123217781,10.2718649962055,12.3589090054494,10.6554056423182,11.4741685945836,10.588774797614,10.3254161745545,10.1151365554927,12.4829756487996,10.5591039155818,10.4270190446423,12.8901071301963,13.8302901469376]},"error_y":{"color":"rgba(231,138,195,1)","width":[]},"error_x":{"color":"rgba(231,138,195,1)","width":[]},"line":{"color":"rgba(231,138,195,1)"},"xaxis":"x","yaxis":"y","visible":true},{"x":[18334.19751,16233.7177],"y":[73.49,72.22],"text":["Australia","New Zealand"],"hoverinfo":["text","text"],"frame":"1977","type":"scatter","mode":"markers","name":"Oceania","marker":{"color":"rgba(166,216,84,1)","size":[10.9565038139765,10.2119180326651],"sizemode":"area","line":{"color":"rgba(166,216,84,1)"}},"textfont":{"color":"rgba(166,216,84,1)","size":[10.9565038139765,10.2119180326651]},"error_y":{"color":"rgba(166,216,84,1)","width":[]},"error_x":{"color":"rgba(166,216,84,1)","width":[]},"line":{"color":"rgba(166,216,84,1)"},"xaxis":"x","yaxis":"y","visible":true}],"traces":[0,1,2,3,4]},{"name":"1982","data":[{"x":[5745.160213,2756.953672,1277.897616,4551.14215,807.1985855,559.603231,2367.983282,956.7529907,797.9081006,1267.100083,673.7478181,4879.507522,2602.710169,2879.468067,3503.729636,927.8253427,524.8758493,577.8607471,15113.36194,835.8096108,876.032569,857.2503577,838.1239671,1348.225791,797.2631074,572.1995694,17364.27538,1302.878658,632.8039209,618.0140641,1481.150189,3688.037739,2702.620356,462.2114149,4191.100511,909.7221354,1576.97375,5267.219353,881.5706467,1890.218117,1518.479984,1465.010784,1176.807031,8568.266228,1895.544073,3895.384018,874.2426069,1344.577953,3560.233174,682.2662268,1408.678565,788.8550411],"y":[61.368,39.942,50.904,61.484,48.122,47.471,52.961,48.295,49.517,52.933,47.784,56.695,53.983,48.812,56.006,43.662,43.89,44.916,56.564,45.58,53.744,42.891,39.327,58.766,55.078,44.852,62.155,48.969,45.642,43.916,53.599,66.711,59.65,42.795,58.968,42.598,45.826,69.885,46.218,60.351,52.379,38.445,42.955,58.161,50.338,55.561,50.608,55.471,64.048,49.849,51.821,60.363],"text":["Algeria","Angola","Benin","Botswana","Burkina Faso","Burundi","Cameroon","Central African Republic","Chad","Comoros","Congo, Dem. Rep.","Congo, Rep.","Cote d'Ivoire","Djibouti","Egypt","Equatorial Guinea","Eritrea","Ethiopia","Gabon","Gambia","Ghana","Guinea","Guinea-Bissau","Kenya","Lesotho","Liberia","Libya","Madagascar","Malawi","Mali","Mauritania","Mauritius","Morocco","Mozambique","Namibia","Niger","Nigeria","Reunion","Rwanda","Sao Tome and Principe","Senegal","Sierra Leone","Somalia","South Africa","Sudan","Swaziland","Tanzania","Togo","Tunisia","Uganda","Zambia","Zimbabwe"],"hoverinfo":["text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text"],"frame":"1982","type":"scatter","mode":"markers","name":"Africa","marker":{"color":"rgba(102,194,165,1)","size":[11.3632680941575,10.4747934243848,10.2444544492409,10.0621331758347,10.4487352426414,10.3085308566398,10.6273011669593,10.1649648049351,10.3286455659162,10.0197000039628,12.0876197234178,10.1170350813326,10.6119524291507,10.0167888764059,13.1138253582145,10.0153891435929,10.1759075376721,12.5971462876368,10.0473582411156,10.0447406697722,10.774011498517,10.3174096864837,10.0522801707207,11.2013514005786,10.0922641514349,10.129466685319,10.2241471982117,10.6218850172792,10.4397414747217,10.4735561337454,10.1066197396355,10.0636137884694,11.374528271663,10.8550199771453,10.0709148133866,10.4352615516359,14.9810616276296,10.0312461615974,10.3718119799184,10.0026333377896,10.4155087880931,10.2323681372528,10.393743516177,12.1213049064737,11.3860168237537,10.0402617704816,11.3503429526262,10.1764172511814,10.4555265540494,10.8790571188885,10.4122752332976,10.5171198485426],"sizemode":"area","line":{"color":"rgba(102,194,165,1)"}},"textfont":{"color":"rgba(102,194,165,1)","size":[11.3632680941575,10.4747934243848,10.2444544492409,10.0621331758347,10.4487352426414,10.3085308566398,10.6273011669593,10.1649648049351,10.3286455659162,10.0197000039628,12.0876197234178,10.1170350813326,10.6119524291507,10.0167888764059,13.1138253582145,10.0153891435929,10.1759075376721,12.5971462876368,10.0473582411156,10.0447406697722,10.774011498517,10.3174096864837,10.0522801707207,11.2013514005786,10.0922641514349,10.129466685319,10.2241471982117,10.6218850172792,10.4397414747217,10.4735561337454,10.1066197396355,10.0636137884694,11.374528271663,10.8550199771453,10.0709148133866,10.4352615516359,14.9810616276296,10.0312461615974,10.3718119799184,10.0026333377896,10.4155087880931,10.2323681372528,10.393743516177,12.1213049064737,11.3860168237537,10.0402617704816,11.3503429526262,10.1764172511814,10.4555265540494,10.8790571188885,10.4122752332976,10.5171198485426]},"error_y":{"color":"rgba(102,194,165,1)","width":[]},"error_x":{"color":"rgba(102,194,165,1)","width":[]},"line":{"color":"rgba(102,194,165,1)"},"xaxis":"x","yaxis":"y","visible":true},{"x":[8997.897412,3156.510452,7030.835878,22898.79214,5095.665738,4397.575659,5262.734751,7316.918107,2861.092386,7213.791267,4098.344175,4820.49479,2011.159549,3121.760794,6068.05135,9611.147541,3470.338156,7009.601598,4258.503604,6434.501797,10330.98915,9119.528607,25009.55914,6920.223051,11152.41011],"y":[69.942,53.859,63.336,75.76,70.565,66.653,73.45,73.717,63.727,64.342,56.604,58.137,51.461,60.909,71.21,67.405,59.298,70.472,66.874,61.406,73.75,68.832,74.65,70.805,68.557],"text":["Argentina","Bolivia","Brazil","Canada","Chile","Colombia","Costa Rica","Cuba","Dominican Republic","Ecuador","El Salvador","Guatemala","Haiti","Honduras","Jamaica","Mexico","Nicaragua","Panama","Paraguay","Peru","Puerto Rico","Trinidad and Tobago","United States","Uruguay","Venezuela"],"hoverinfo":["text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text"],"frame":"1982","type":"scatter","mode":"markers","name":"Americas","marker":{"color":"rgba(252,141,98,1)","size":[11.9985412814155,10.3810028625428,18.7980133610356,11.716009704168,10.7799340855617,11.8909247065093,10.1613744233819,10.6640481119743,10.4032618767629,10.5668985462969,10.3013276382917,10.4324250928763,10.3507104685643,10.2463549544182,10.1527705849318,14.885611698509,10.1992586683707,10.1348880222281,10.2256736768718,11.2329987533928,10.2197057698258,10.0721071252897,25.8434236421699,10.1975232672345,11.0620684302672],"sizemode":"area","line":{"color":"rgba(252,141,98,1)"}},"textfont":{"color":"rgba(252,141,98,1)","size":[11.9985412814155,10.3810028625428,18.7980133610356,11.716009704168,10.7799340855617,11.8909247065093,10.1613744233819,10.6640481119743,10.4032618767629,10.5668985462969,10.3013276382917,10.4324250928763,10.3507104685643,10.2463549544182,10.1527705849318,14.885611698509,10.1992586683707,10.1348880222281,10.2256736768718,11.2329987533928,10.2197057698258,10.0721071252897,25.8434236421699,10.1975232672345,11.0620684302672]},"error_y":{"color":"rgba(252,141,98,1)","width":[]},"error_x":{"color":"rgba(252,141,98,1)","width":[]},"line":{"color":"rgba(252,141,98,1)"},"xaxis":"x","yaxis":"y","visible":true},{"x":[978.0114388,19211.14731,676.9818656,624.4754784,962.4213805,14560.53051,855.7235377,1516.872988,7608.334602,14517.90711,15367.0292,19384.10571,4161.415959,4106.525293,5622.942464,31354.03573,7640.519521,4920.355951,2000.603139,424,718.3730947,12954.79101,1443.429832,2603.273765,33693.17525,15169.16112,1648.079789,3761.837715,7426.354774,2393.219781,707.2357863,4336.032082,1977.55701],"y":[39.854,69.052,50.009,50.957,65.525,75.45,56.596,56.159,59.62,62.038,74.45,77.11,63.739,69.1,67.123,71.309,66.983,68,57.489,58.056,49.594,62.728,56.158,62.082,63.012,71.76,68.757,64.59,72.16,64.597,58.816,64.406,49.113],"text":["Afghanistan","Bahrain","Bangladesh","Cambodia","China","Hong Kong, China","India","Indonesia","Iran","Iraq","Israel","Japan","Jordan","Korea, Dem. Rep.","Korea, Rep.","Kuwait","Lebanon","Malaysia","Mongolia","Myanmar","Nepal","Oman","Pakistan","Philippines","Saudi Arabia","Singapore","Sri Lanka","Syria","Taiwan","Thailand","Vietnam","West Bank and Gaza","Yemen, Rep."],"hoverinfo":["text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text"],"frame":"1982","type":"scatter","mode":"markers","name":"Asia","marker":{"color":"rgba(141,160,203,1)","size":[10.8751268373252,10.021701455348,16.3485128125146,10.4922730895463,78.2680972554034,10.3552220610486,58.3190380441428,20.4620260079854,12.9357491492726,10.9632757415285,10.2592529312499,18.0808130778326,10.1560960082843,11.2004003630803,12.6800221004776,10.0981125474532,10.2065926594937,10.9816083646071,10.1157585452101,12.3629487648474,11.0740501103847,10.0847045158473,16.2384672493429,13.6444900174033,10.7640693549666,10.1769021205935,11.0476933217046,10.638198647948,11.2586797007274,13.3285049078297,13.8277771392118,10.0932244030901,10.655065605802],"sizemode":"area","line":{"color":"rgba(141,160,203,1)"}},"textfont":{"color":"rgba(141,160,203,1)","size":[10.8751268373252,10.021701455348,16.3485128125146,10.4922730895463,78.2680972554034,10.3552220610486,58.3190380441428,20.4620260079854,12.9357491492726,10.9632757415285,10.2592529312499,18.0808130778326,10.1560960082843,11.2004003630803,12.6800221004776,10.0981125474532,10.2065926594937,10.9816083646071,10.1157585452101,12.3629487648474,11.0740501103847,10.0847045158473,16.2384672493429,13.6444900174033,10.7640693549666,10.1769021205935,11.0476933217046,10.638198647948,11.2586797007274,13.3285049078297,13.8277771392118,10.0932244030901,10.655065605802]},"error_y":{"color":"rgba(141,160,203,1)","width":[]},"error_x":{"color":"rgba(141,160,203,1)","width":[]},"line":{"color":"rgba(141,160,203,1)"},"xaxis":"x","yaxis":"y","visible":true},{"x":[3630.880722,21597.08362,20979.84589,4126.613157,8224.191647,13221.82184,15377.22855,21688.04048,18533.15761,20293.89746,22031.53274,15268.42089,12545.99066,23269.6075,12618.32141,16537.4835,11222.58762,21399.46046,26298.63531,8451.531004,11753.84291,9605.314053,15181.0927,11348.54585,17866.72175,13926.16997,20667.38125,28397.71512,4241.356344,18232.42452],"y":[70.42,73.18,73.93,70.69,71.08,70.46,70.96,74.63,74.55,74.89,73.8,75.24,69.39,76.99,73.1,74.98,74.101,76.05,75.97,71.32,72.77,69.66,70.162,70.8,71.063,76.3,76.42,76.21,61.036,74.04],"text":["Albania","Austria","Belgium","Bosnia and Herzegovina","Bulgaria","Croatia","Czech Republic","Denmark","Finland","France","Germany","Greece","Hungary","Iceland","Ireland","Italy","Montenegro","Netherlands","Norway","Poland","Portugal","Romania","Serbia","Slovak Republic","Slovenia","Spain","Sweden","Switzerland","Turkey","United Kingdom"],"hoverinfo":["text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text"],"frame":"1982","type":"scatter","mode":"markers","name":"Europe","marker":{"color":"rgba(231,138,195,1)","size":[10.1856540680842,10.5128942361873,10.6686264559065,10.280702942494,10.6028165584557,10.2971297366601,10.6991629226634,10.3452100264118,10.3253567944323,13.7111589472893,15.342522082419,10.6638608257037,10.7265890995682,10.0118750689095,10.2334245574049,13.8546316288707,10.0342996649418,10.972632069459,10.2767506834601,12.4685320142109,10.6688548987446,11.5218180030573,10.6124215321166,10.3404482183777,10.1229401273526,12.588379460989,10.564128156455,10.4373731633858,13.2262367073605,13.841258679314],"sizemode":"area","line":{"color":"rgba(231,138,195,1)"}},"textfont":{"color":"rgba(231,138,195,1)","size":[10.1856540680842,10.5128942361873,10.6686264559065,10.280702942494,10.6028165584557,10.2971297366601,10.6991629226634,10.3452100264118,10.3253567944323,13.7111589472893,15.342522082419,10.6638608257037,10.7265890995682,10.0118750689095,10.2334245574049,13.8546316288707,10.0342996649418,10.972632069459,10.2767506834601,12.4685320142109,10.6688548987446,11.5218180030573,10.6124215321166,10.3404482183777,10.1229401273526,12.588379460989,10.564128156455,10.4373731633858,13.2262367073605,13.841258679314]},"error_y":{"color":"rgba(231,138,195,1)","width":[]},"error_x":{"color":"rgba(231,138,195,1)","width":[]},"line":{"color":"rgba(231,138,195,1)"},"xaxis":"x","yaxis":"y","visible":true},{"x":[19477.00928,17632.4104],"y":[74.74,73.84],"text":["Australia","New Zealand"],"hoverinfo":["text","text"],"frame":"1982","type":"scatter","mode":"markers","name":"Oceania","marker":{"color":"rgba(166,216,84,1)","size":[11.0322714849179,10.2150406080597],"sizemode":"area","line":{"color":"rgba(166,216,84,1)"}},"textfont":{"color":"rgba(166,216,84,1)","size":[11.0322714849179,10.2150406080597]},"error_y":{"color":"rgba(166,216,84,1)","width":[]},"error_x":{"color":"rgba(166,216,84,1)","width":[]},"line":{"color":"rgba(166,216,84,1)"},"xaxis":"x","yaxis":"y","visible":true}],"traces":[0,1,2,3,4]},{"name":"1987","data":[{"x":[5681.358539,2430.208311,1225.85601,6205.88385,912.0631417,621.8188189,2602.664206,844.8763504,952.386129,1315.980812,672.774812,4201.194937,2156.956069,2880.102568,3885.46071,966.8968149,521.1341333,573.7413142,11864.40844,611.6588611,847.0061135,805.5724718,736.4153921,1361.936856,773.9932141,506.1138573,11770.5898,1155.441948,635.5173634,684.1715576,1421.603576,4783.586903,2755.046991,389.8761846,3693.731337,668.3000228,1385.029563,5303.377488,847.991217,1516.525457,1441.72072,1294.447788,1093.244963,7825.823398,1507.819159,3984.839812,831.8220794,1202.201361,3810.419296,617.7244065,1213.315116,706.1573059],"y":[65.799,39.906,52.337,63.622,49.557,48.211,54.985,50.485,51.051,54.926,47.412,57.47,54.655,50.04,59.797,45.664,46.453,46.684,60.19,49.265,55.729,45.552,41.245,59.339,57.18,46.027,66.234,49.35,47.457,46.364,56.145,68.74,62.677,42.861,60.835,44.555,46.886,71.913,44.02,61.728,55.769,40.006,44.501,60.834,51.744,57.678,51.535,56.941,66.894,51.509,50.821,62.351],"text":["Algeria","Angola","Benin","Botswana","Burkina Faso","Burundi","Cameroon","Central African Republic","Chad","Comoros","Congo, Dem. Rep.","Congo, Rep.","Cote d'Ivoire","Djibouti","Egypt","Equatorial Guinea","Eritrea","Ethiopia","Gabon","Gambia","Ghana","Guinea","Guinea-Bissau","Kenya","Lesotho","Liberia","Libya","Madagascar","Malawi","Mali","Mauritania","Mauritius","Morocco","Mozambique","Namibia","Niger","Nigeria","Reunion","Rwanda","Sao Tome and Principe","Senegal","Sierra Leone","Somalia","South Africa","Sudan","Swaziland","Tanzania","Togo","Tunisia","Uganda","Zambia","Zimbabwe"],"hoverinfo":["text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text"],"frame":"1987","type":"scatter","mode":"markers","name":"Africa","marker":{"color":"rgba(102,194,165,1)","size":[11.5831249079035,10.5333439995099,10.2855553905307,10.0744758461437,10.5137090406695,10.3457705884165,10.7317170850228,10.1897432426644,10.3712243214671,10.0228717897806,12.4176332844954,10.1367847734897,10.7303814417901,10.0171324620788,13.5995991910001,10.0191949999116,10.1949270590845,12.9307515953279,10.0559938172173,10.0538103350435,10.962919665554,10.38155148027,10.0592103770123,11.4427370578,10.1050542885043,10.1507984140896,10.2552549426965,10.7172457397104,10.5299666356137,10.5169481239592,10.1215742480346,10.0670689608016,11.5648631997065,10.875818649876,10.0831439789331,10.4963787131028,15.5620411119983,10.0342646511456,10.4292673671795,10.0034673213688,10.4853701162072,10.2599684958496,10.4683417399749,12.4484654915624,11.683525364642,10.0490969183965,11.5684965124056,10.2111920936072,10.5231569641449,11.0390182953607,10.4922676975582,10.6249523759854],"sizemode":"area","line":{"color":"rgba(102,194,165,1)"}},"textfont":{"color":"rgba(102,194,165,1)","size":[11.5831249079035,10.5333439995099,10.2855553905307,10.0744758461437,10.5137090406695,10.3457705884165,10.7317170850228,10.1897432426644,10.3712243214671,10.0228717897806,12.4176332844954,10.1367847734897,10.7303814417901,10.0171324620788,13.5995991910001,10.0191949999116,10.1949270590845,12.9307515953279,10.0559938172173,10.0538103350435,10.962919665554,10.38155148027,10.0592103770123,11.4427370578,10.1050542885043,10.1507984140896,10.2552549426965,10.7172457397104,10.5299666356137,10.5169481239592,10.1215742480346,10.0670689608016,11.5648631997065,10.875818649876,10.0831439789331,10.4963787131028,15.5620411119983,10.0342646511456,10.4292673671795,10.0034673213688,10.4853701162072,10.2599684958496,10.4683417399749,12.4484654915624,11.683525364642,10.0490969183965,11.5684965124056,10.2111920936072,10.5231569641449,11.0390182953607,10.4922676975582,10.6249523759854]},"error_y":{"color":"rgba(102,194,165,1)","width":[]},"error_x":{"color":"rgba(102,194,165,1)","width":[]},"line":{"color":"rgba(102,194,165,1)"},"xaxis":"x","yaxis":"y","visible":true},{"x":[9139.671389,2753.69149,7807.095818,26626.51503,5547.063754,4903.2191,5629.915318,7532.924763,2899.842175,6481.776993,4140.442097,4246.485974,1823.015995,3023.096699,6351.237495,8688.156003,2955.984375,7034.779161,3998.875695,6360.943444,12281.34191,7388.597823,29884.35041,7452.398969,9883.584648],"y":[70.774,57.251,65.205,76.86,72.492,67.768,74.752,74.174,66.046,67.231,63.154,60.782,53.636,64.492,71.77,69.498,62.008,71.523,67.378,64.134,74.63,69.582,75.02,71.918,70.19],"text":["Argentina","Bolivia","Brazil","Canada","Chile","Colombia","Costa Rica","Cuba","Dominican Republic","Ecuador","El Salvador","Guatemala","Haiti","Honduras","Jamaica","Mexico","Nicaragua","Panama","Paraguay","Peru","Puerto Rico","Trinidad and Tobago","United States","Uruguay","Venezuela"],"hoverinfo":["text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text"],"frame":"1987","type":"scatter","mode":"markers","name":"Americas","marker":{"color":"rgba(252,141,98,1)","size":[12.1541270301665,10.4160948084721,19.7518585836073,11.8080011165586,10.846565544543,12.1093071186449,10.186999608004,10.6948039439185,10.4501481482861,10.6473898718374,10.3263984036803,10.495953360319,10.3887822728358,10.2943201013351,10.1547019404715,15.4645056437792,10.2241662408026,10.1497217227924,10.2611702266687,11.3743367537055,10.2309993913082,10.0772163411655,26.5679770273398,10.2037449389869,11.2183279727732],"sizemode":"area","line":{"color":"rgba(252,141,98,1)"}},"textfont":{"color":"rgba(252,141,98,1)","size":[12.1541270301665,10.4160948084721,19.7518585836073,11.8080011165586,10.846565544543,12.1093071186449,10.186999608004,10.6948039439185,10.4501481482861,10.6473898718374,10.3263984036803,10.495953360319,10.3887822728358,10.2943201013351,10.1547019404715,15.4645056437792,10.2241662408026,10.1497217227924,10.2611702266687,11.3743367537055,10.2309993913082,10.0772163411655,26.5679770273398,10.2037449389869,11.2183279727732]},"error_y":{"color":"rgba(252,141,98,1)","width":[]},"error_x":{"color":"rgba(252,141,98,1)","width":[]},"line":{"color":"rgba(252,141,98,1)"},"xaxis":"x","yaxis":"y","visible":true},{"x":[852.3959448,18524.02406,751.9794035,683.8955732,1378.904018,20038.47269,976.5126756,1748.356961,6642.881371,11643.57268,17122.47986,22375.94189,4448.679912,4106.492315,8533.088805,28118.42998,5377.091329,5249.802653,2338.008304,385,775.6324501,18115.22313,1704.686583,2189.634995,21198.26136,18861.53081,1876.766827,3116.774285,11054.56175,2982.653773,820.7994449,5107.197384,1971.741538],"y":[40.822,70.75,52.819,53.914,67.274,76.2,58.553,60.137,63.04,65.044,75.6,78.67,65.869,70.647,69.81,74.174,67.926,69.5,60.222,58.339,52.537,67.734,58.245,64.151,66.295,73.56,69.011,66.974,73.4,66.084,62.82,67.046,52.922],"text":["Afghanistan","Bahrain","Bangladesh","Cambodia","China","Hong Kong, China","India","Indonesia","Iran","Iraq","Israel","Japan","Jordan","Korea, Dem. Rep.","Korea, Rep.","Kuwait","Lebanon","Malaysia","Mongolia","Myanmar","Nepal","Oman","Pakistan","Philippines","Saudi Arabia","Singapore","Sri Lanka","Syria","Taiwan","Thailand","Vietnam","West Bank and Gaza","Yemen, Rep."],"hoverinfo":["text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text"],"frame":"1987","type":"scatter","mode":"markers","name":"Asia","marker":{"color":"rgba(141,160,203,1)","size":[10.942433932893,10.026932707613,17.0781262713901,10.5673040374536,83.9845601975033,10.3770637080876,63.7792791713486,21.5495012814826,13.537532220589,11.1250265802832,10.2827815880381,18.3290049938721,10.188380434732,11.2973221001967,12.8367310208284,10.1250037572336,10.2067617222096,11.1105976200925,10.1334429694138,12.5914691384309,11.2188056073658,10.1046913189754,17.1752257393552,14.0922989983904,10.9937457298497,10.1866406654029,11.1217582847035,10.763262263075,11.3444334019073,13.607194386408,14.2840014438243,10.1113342483307,10.7616578394728],"sizemode":"area","line":{"color":"rgba(141,160,203,1)"}},"textfont":{"color":"rgba(141,160,203,1)","size":[10.942433932893,10.026932707613,17.0781262713901,10.5673040374536,83.9845601975033,10.3770637080876,63.7792791713486,21.5495012814826,13.537532220589,11.1250265802832,10.2827815880381,18.3290049938721,10.188380434732,11.2973221001967,12.8367310208284,10.1250037572336,10.2067617222096,11.1105976200925,10.1334429694138,12.5914691384309,11.2188056073658,10.1046913189754,17.1752257393552,14.0922989983904,10.9937457298497,10.1866406654029,11.1217582847035,10.763262263075,11.3444334019073,13.607194386408,14.2840014438243,10.1113342483307,10.7616578394728]},"error_y":{"color":"rgba(141,160,203,1)","width":[]},"error_x":{"color":"rgba(141,160,203,1)","width":[]},"line":{"color":"rgba(141,160,203,1)"},"xaxis":"x","yaxis":"y","visible":true},{"x":[3738.932735,23687.82607,22525.56308,4314.114757,8239.854824,13822.58394,16310.4434,25116.17581,21141.01223,22066.44214,24639.18566,16120.52839,12986.47998,26923.20628,13872.86652,19207.23482,11732.51017,23651.32361,31540.9748,9082.351172,13039.30876,9696.273295,15870.87851,12037.26758,18678.53492,15764.98313,23586.92927,30281.70459,5089.043686,21664.78767],"y":[72,74.94,75.35,71.14,71.34,71.52,71.58,74.8,74.83,76.34,74.847,76.67,69.58,77.23,74.36,76.42,74.865,76.83,75.89,70.98,74.06,69.53,71.218,71.08,72.25,76.9,77.19,77.41,63.108,75.007],"text":["Albania","Austria","Belgium","Bosnia and Herzegovina","Bulgaria","Croatia","Czech Republic","Denmark","Finland","France","Germany","Greece","Hungary","Iceland","Ireland","Italy","Montenegro","Netherlands","Norway","Poland","Portugal","Romania","Serbia","Slovak Republic","Slovenia","Spain","Sweden","Switzerland","Turkey","United Kingdom"],"hoverinfo":["text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text"],"frame":"1987","type":"scatter","mode":"markers","name":"Europe","marker":{"color":"rgba(231,138,195,1)","size":[10.2058039959159,10.5131870416177,10.6695749680433,10.2920523266889,10.608267244161,10.3019717419857,10.6997016437036,10.3458389096836,10.3325094372969,13.7928260675036,15.3004121568219,10.6766930748827,10.7202555611257,10.0126039428469,10.2375129129489,13.8678772865561,10.0347723170644,10.9968534943403,10.2816212185456,12.5718212797708,10.6726524281956,11.5443172678871,10.6259328305328,10.3507731930842,10.1287155608989,12.6496291698094,10.5706902059886,10.4497826533956,13.6052140934572,13.8850713811066],"sizemode":"area","line":{"color":"rgba(231,138,195,1)"}},"textfont":{"color":"rgba(231,138,195,1)","size":[10.2058039959159,10.5131870416177,10.6695749680433,10.2920523266889,10.608267244161,10.3019717419857,10.6997016437036,10.3458389096836,10.3325094372969,13.7928260675036,15.3004121568219,10.6766930748827,10.7202555611257,10.0126039428469,10.2375129129489,13.8678772865561,10.0347723170644,10.9968534943403,10.2816212185456,12.5718212797708,10.6726524281956,11.5443172678871,10.6259328305328,10.3507731930842,10.1287155608989,12.6496291698094,10.5706902059886,10.4497826533956,13.6052140934572,13.8850713811066]},"error_y":{"color":"rgba(231,138,195,1)","width":[]},"error_x":{"color":"rgba(231,138,195,1)","width":[]},"line":{"color":"rgba(231,138,195,1)"},"xaxis":"x","yaxis":"y","visible":true},{"x":[21888.88903,19007.19129],"y":[76.32,74.32],"text":["Australia","New Zealand"],"hoverinfo":["text","text"],"frame":"1987","type":"scatter","mode":"markers","name":"Oceania","marker":{"color":"rgba(166,216,84,1)","size":[11.1055103134343,10.2223106461086],"sizemode":"area","line":{"color":"rgba(166,216,84,1)"}},"textfont":{"color":"rgba(166,216,84,1)","size":[11.1055103134343,10.2223106461086]},"error_y":{"color":"rgba(166,216,84,1)","width":[]},"error_x":{"color":"rgba(166,216,84,1)","width":[]},"line":{"color":"rgba(166,216,84,1)"},"xaxis":"x","yaxis":"y","visible":true}],"traces":[0,1,2,3,4]},{"name":"1992","data":[{"x":[5023.216647,2627.845685,1191.207681,7954.111645,931.7527731,631.6998778,1793.163278,747.9055252,1058.0643,1246.90737,457.7191807,4016.239529,1648.073791,2377.156192,3794.755195,1132.055034,582.8585102,421.3534653,13522.15752,665.6244126,925.060154,794.3484384,745.5398706,1341.921721,977.4862725,636.6229191,9640.138501,1040.67619,563.2000145,739.014375,1361.369784,6058.253846,2948.047252,410.8968239,3804.537999,581.182725,1619.848217,6101.255823,737.0685949,1428.777814,1367.899369,1068.696278,926.9602964,7225.069258,1492.197043,3553.0224,825.682454,1034.298904,4332.720164,644.1707969,1210.884633,693.4207856],"y":[67.744,40.647,53.919,62.745,50.26,44.736,54.314,49.396,51.724,57.939,45.548,56.433,52.044,51.604,63.674,47.545,49.991,48.091,61.366,52.644,57.501,48.576,43.266,59.285,59.685,40.802,68.755,52.214,49.42,48.388,58.333,69.745,65.393,44.284,61.999,47.391,47.472,73.615,23.599,62.742,58.196,38.333,39.658,61.888,53.556,58.474,50.44,58.061,70.001,48.825,46.1,60.377],"text":["Algeria","Angola","Benin","Botswana","Burkina Faso","Burundi","Cameroon","Central African Republic","Chad","Comoros","Congo, Dem. Rep.","Congo, Rep.","Cote d'Ivoire","Djibouti","Egypt","Equatorial Guinea","Eritrea","Ethiopia","Gabon","Gambia","Ghana","Guinea","Guinea-Bissau","Kenya","Lesotho","Liberia","Libya","Madagascar","Malawi","Mali","Mauritania","Mauritius","Morocco","Mozambique","Namibia","Niger","Nigeria","Reunion","Rwanda","Sao Tome and Principe","Senegal","Sierra Leone","Somalia","South Africa","Sudan","Swaziland","Tanzania","Togo","Tunisia","Uganda","Zambia","Zimbabwe"],"hoverinfo":["text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text"],"frame":"1992","type":"scatter","mode":"markers","name":"Africa","marker":{"color":"rgba(102,194,165,1)","size":[11.7908472912864,10.5921615804261,10.3359181293265,10.087541520631,10.6018750081264,10.392401934932,10.8468260662978,10.2187586227493,10.4347311574634,10.0269202173114,12.840153431714,10.1603305617845,10.8676722431262,10.0221238732522,14.0502831254467,10.0223751808501,10.24628615538,13.55110521973,10.0631837262276,10.0658896169712,11.106977002454,10.4730318140911,10.0676337544932,11.7036312692797,10.1189775621136,10.1264703097474,10.2937944166206,10.8293003303518,10.6794067464699,10.5703361093515,10.1405639428799,10.070723158923,11.7567116383375,10.8941636267501,10.10198652028,10.5687391935809,16.3682951296124,10.0383704794612,10.4934823964499,10.0044978736285,10.5629446491906,10.2867222440596,10.4122337354651,12.7235783756963,11.9225220298642,10.0615869469629,11.8118077919135,10.2516858560837,10.5776297629432,11.2416710496161,10.5679437047016,10.7265075372164],"sizemode":"area","line":{"color":"rgba(102,194,165,1)"}},"textfont":{"color":"rgba(102,194,165,1)","size":[11.7908472912864,10.5921615804261,10.3359181293265,10.087541520631,10.6018750081264,10.392401934932,10.8468260662978,10.2187586227493,10.4347311574634,10.0269202173114,12.840153431714,10.1603305617845,10.8676722431262,10.0221238732522,14.0502831254467,10.0223751808501,10.24628615538,13.55110521973,10.0631837262276,10.0658896169712,11.106977002454,10.4730318140911,10.0676337544932,11.7036312692797,10.1189775621136,10.1264703097474,10.2937944166206,10.8293003303518,10.6794067464699,10.5703361093515,10.1405639428799,10.070723158923,11.7567116383375,10.8941636267501,10.10198652028,10.5687391935809,16.3682951296124,10.0383704794612,10.4934823964499,10.0044978736285,10.5629446491906,10.2867222440596,10.4122337354651,12.7235783756963,11.9225220298642,10.0615869469629,11.8118077919135,10.2516858560837,10.5776297629432,11.2416710496161,10.5679437047016,10.7265075372164]},"error_y":{"color":"rgba(102,194,165,1)","width":[]},"error_x":{"color":"rgba(102,194,165,1)","width":[]},"line":{"color":"rgba(102,194,165,1)"},"xaxis":"x","yaxis":"y","visible":true},{"x":[9308.41871,2961.699694,6950.283021,26342.88426,7596.125964,5444.648617,6160.416317,5592.843963,3044.214214,7103.702595,4444.2317,4439.45084,1456.309517,3081.694603,7404.923685,9472.384295,2170.151724,6618.74305,4196.411078,4446.380924,14641.58711,7370.990932,32003.93224,8137.004775,10733.92631],"y":[71.868,59.957,67.057,77.95,74.126,68.421,75.713,74.414,68.457,69.613,66.798,63.373,55.089,66.399,71.766,71.455,65.843,72.462,68.225,66.458,73.911,69.862,76.09,72.752,71.15],"text":["Argentina","Bolivia","Brazil","Canada","Chile","Colombia","Costa Rica","Cuba","Dominican Republic","Ecuador","El Salvador","Guatemala","Haiti","Honduras","Jamaica","Mexico","Nicaragua","Panama","Paraguay","Peru","Puerto Rico","Trinidad and Tobago","United States","Uruguay","Venezuela"],"hoverinfo":["text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text"],"frame":"1992","type":"scatter","mode":"markers","name":"Americas","marker":{"color":"rgba(252,141,98,1)","size":[12.3137045564465,10.4664028766037,20.6417344195062,11.9427190522757,10.9223018190979,12.3303428667033,10.2124856247303,10.727798884243,10.4976443287431,10.7295143554991,10.3559147608886,10.5751639180502,10.4277191840608,10.3424483047026,10.1582519162403,16.0097474404523,10.2701405155515,10.1655126036262,10.3019468296356,11.5268498200151,10.2406031364148,10.0766930453064,27.5297067698462,10.2108506920308,11.3790898253537],"sizemode":"area","line":{"color":"rgba(252,141,98,1)"}},"textfont":{"color":"rgba(252,141,98,1)","size":[12.3137045564465,10.4664028766037,20.6417344195062,11.9427190522757,10.9223018190979,12.3303428667033,10.2124856247303,10.727798884243,10.4976443287431,10.7295143554991,10.3559147608886,10.5751639180502,10.4277191840608,10.3424483047026,10.1582519162403,16.0097474404523,10.2701405155515,10.1655126036262,10.3019468296356,11.5268498200151,10.2406031364148,10.0766930453064,27.5297067698462,10.2108506920308,11.3790898253537]},"error_y":{"color":"rgba(252,141,98,1)","width":[]},"error_x":{"color":"rgba(252,141,98,1)","width":[]},"line":{"color":"rgba(252,141,98,1)"},"xaxis":"x","yaxis":"y","visible":true},{"x":[649.3413952,19035.57917,837.8101643,682.3031755,1655.784158,24757.60301,1164.406809,2383.140898,7235.653188,3745.640687,18051.52254,26824.89511,3431.593647,3726.063507,12104.27872,34932.91959,6890.806854,7277.912802,1785.402016,347,897.7403604,18616.70691,1971.829464,2279.324017,24841.61777,24769.8912,2153.739222,3340.542768,15215.6579,4616.896545,989.0231487,6017.654756,1879.496673],"y":[41.674,72.601,56.018,55.803,68.69,77.601,60.223,62.681,65.742,59.461,76.93,79.36,68.015,69.978,72.244,75.19,69.292,70.693,61.271,59.32,55.727,71.197,60.838,66.458,68.768,75.788,70.379,69.249,74.26,67.298,67.662,69.718,55.599],"text":["Afghanistan","Bahrain","Bangladesh","Cambodia","China","Hong Kong, China","India","Indonesia","Iran","Iraq","Israel","Japan","Jordan","Korea, Dem. Rep.","Korea, Rep.","Kuwait","Lebanon","Malaysia","Mongolia","Myanmar","Nepal","Oman","Pakistan","Philippines","Saudi Arabia","Singapore","Sri Lanka","Syria","Taiwan","Thailand","Vietnam","West Bank and Gaza","Yemen, Rep."],"hoverinfo":["text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text"],"frame":"1992","type":"scatter","mode":"markers","name":"Asia","marker":{"color":"rgba(141,160,203,1)","size":[11.1096513603051,10.032043425055,17.7565843009642,10.688678577169,89.5086178928833,10.3937983916003,69.5125323549148,22.6101531204423,14.1182477705523,11.215032922012,10.3328384850778,18.4817514172369,10.2598663893405,11.4095178380712,12.9857580644434,10.0926933263875,10.2156783642234,11.2462652965006,10.153759775865,12.7633274977891,11.3832290976462,10.1266227869809,18.1907024781081,14.5815351018218,11.1525098849608,10.21676160781,11.1962739223544,10.898144893315,11.4078485741056,13.8636041018499,14.7695695620254,10.1395615791149,10.9083101559685],"sizemode":"area","line":{"color":"rgba(141,160,203,1)"}},"textfont":{"color":"rgba(141,160,203,1)","size":[11.1096513603051,10.032043425055,17.7565843009642,10.688678577169,89.5086178928833,10.3937983916003,69.5125323549148,22.6101531204423,14.1182477705523,11.215032922012,10.3328384850778,18.4817514172369,10.2598663893405,11.4095178380712,12.9857580644434,10.0926933263875,10.2156783642234,11.2462652965006,10.153759775865,12.7633274977891,11.3832290976462,10.1266227869809,18.1907024781081,14.5815351018218,11.1525098849608,10.21676160781,11.1962739223544,10.898144893315,11.4078485741056,13.8636041018499,14.7695695620254,10.1395615791149,10.9083101559685]},"error_y":{"color":"rgba(141,160,203,1)","width":[]},"error_x":{"color":"rgba(141,160,203,1)","width":[]},"line":{"color":"rgba(141,160,203,1)"},"xaxis":"x","yaxis":"y","visible":true},{"x":[2497.437901,27042.01868,25575.57069,2546.781445,6302.623438,8447.794873,14297.02122,26406.73985,20647.16499,24703.79615,26505.30317,17541.49634,10535.62855,25144.39201,17558.81555,22013.64486,7003.339037,26790.94961,33965.66115,7738.881247,16207.26663,6598.409903,9325.068238,9498.467723,14214.71681,18603.06452,23880.01683,31871.5303,5678.348271,22705.09254],"y":[71.581,76.04,76.46,72.178,71.19,72.527,72.4,75.33,75.7,77.46,76.07,77.03,69.17,78.77,75.467,77.44,75.435,77.42,77.32,70.99,74.86,69.36,71.659,71.38,73.64,77.57,78.16,78.03,66.146,76.42],"text":["Albania","Austria","Belgium","Bosnia and Herzegovina","Bulgaria","Croatia","Czech Republic","Denmark","Finland","France","Germany","Greece","Hungary","Iceland","Ireland","Italy","Montenegro","Netherlands","Norway","Poland","Portugal","Romania","Serbia","Slovak Republic","Slovenia","Spain","Sweden","Switzerland","Turkey","United Kingdom"],"hoverinfo":["text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text"],"frame":"1992","type":"scatter","mode":"markers","name":"Europe","marker":{"color":"rgba(231,138,195,1)","size":[10.222947583236,10.5361245590509,10.681548048281,10.286389783628,10.5868732003884,10.3026340009814,10.6999818223264,10.3488672276657,10.339970174267,13.9118647160648,15.4969443902918,10.7006457193945,10.7022329432371,10.0135824180569,10.2387319800336,13.8754631995541,10.0383315752431,11.0315919579096,10.2884608530875,12.6148197913583,10.6734981512932,11.5518698734142,10.6665852812671,10.3578421577535,10.1323561766705,12.6952724174399,10.5909930205719,10.4733644110288,13.9668060035518,13.9454568020095],"sizemode":"area","line":{"color":"rgba(231,138,195,1)"}},"textfont":{"color":"rgba(231,138,195,1)","size":[10.222947583236,10.5361245590509,10.681548048281,10.286389783628,10.5868732003884,10.3026340009814,10.6999818223264,10.3488672276657,10.339970174267,13.9118647160648,15.4969443902918,10.7006457193945,10.7022329432371,10.0135824180569,10.2387319800336,13.8754631995541,10.0383315752431,11.0315919579096,10.2884608530875,12.6148197913583,10.6734981512932,11.5518698734142,10.6665852812671,10.3578421577535,10.1323561766705,12.6952724174399,10.5909930205719,10.4733644110288,13.9668060035518,13.9454568020095]},"error_y":{"color":"rgba(231,138,195,1)","width":[]},"error_x":{"color":"rgba(231,138,195,1)","width":[]},"line":{"color":"rgba(231,138,195,1)"},"xaxis":"x","yaxis":"y","visible":true},{"x":[23424.76683,18363.32494],"y":[77.56,76.33],"text":["Australia","New Zealand"],"hoverinfo":["text","text"],"frame":"1992","type":"scatter","mode":"markers","name":"Oceania","marker":{"color":"rgba(166,216,84,1)","size":[11.1891016908748,10.2305356803305],"sizemode":"area","line":{"color":"rgba(166,216,84,1)"}},"textfont":{"color":"rgba(166,216,84,1)","size":[11.1891016908748,10.2305356803305]},"error_y":{"color":"rgba(166,216,84,1)","width":[]},"error_x":{"color":"rgba(166,216,84,1)","width":[]},"line":{"color":"rgba(166,216,84,1)"},"xaxis":"x","yaxis":"y","visible":true}],"traces":[0,1,2,3,4]},{"name":"1997","data":[{"x":[4797.295051,2277.140884,1232.975292,8647.142313,946.2949618,463.1151478,1694.337469,740.5063317,1004.961353,1173.618235,312.188423,3484.164376,1786.265407,1895.016984,4173.181797,2814.480755,913.47079,515.8894013,14722.84188,653.7301704,1005.245812,869.4497668,796.6644681,1360.485021,1186.147994,609.1739508,9467.446056,986.2958956,692.2758103,790.2579846,1483.136136,7425.705295,2982.101858,472.3460771,3899.52426,580.3052092,1624.941275,6071.941411,589.9445051,1339.076036,1392.368347,574.6481576,930.5964284,7479.188244,1632.210764,3876.76846,789.1862231,982.2869243,4876.798614,816.559081,1071.353818,792.4499603],"y":[69.152,40.963,54.777,52.556,50.324,45.326,52.199,46.066,51.573,60.66,42.587,52.962,47.991,53.157,67.217,48.245,53.378,49.402,60.461,55.861,58.556,51.455,44.873,54.407,55.558,42.221,71.555,54.978,47.495,49.903,60.43,70.736,67.66,46.344,58.909,51.313,47.464,74.772,36.087,63.306,60.187,39.897,43.795,60.236,55.373,54.289,48.466,58.39,71.973,44.578,40.238,46.809],"text":["Algeria","Angola","Benin","Botswana","Burkina Faso","Burundi","Cameroon","Central African Republic","Chad","Comoros","Congo, Dem. Rep.","Congo, Rep.","Cote d'Ivoire","Djibouti","Egypt","Equatorial Guinea","Eritrea","Ethiopia","Gabon","Gambia","Ghana","Guinea","Guinea-Bissau","Kenya","Lesotho","Liberia","Libya","Madagascar","Malawi","Mali","Mauritania","Mauritius","Morocco","Mozambique","Namibia","Niger","Nigeria","Reunion","Rwanda","Sao Tome and Principe","Senegal","Sierra Leone","Somalia","South Africa","Sudan","Swaziland","Tanzania","Togo","Tunisia","Uganda","Zambia","Zimbabwe"],"hoverinfo":["text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text"],"frame":"1997","type":"scatter","mode":"markers","name":"Africa","marker":{"color":"rgba(102,194,165,1)","size":[11.9801567177932,10.6699042205832,10.4099323120829,10.1007772816293,10.7025168075228,10.4137224019554,10.9648108200684,10.2482022222446,10.5120341117037,10.0319404312567,13.2583289333206,10.187077143428,10.9941704001034,10.0244275489838,14.5097687638314,10.0259334152337,10.2728965722604,14.0816182889745,10.0727698620565,10.0802488908345,11.2530077387505,10.5452612487821,10.0773782373149,11.9249954508418,10.1312377145286,10.1461101828048,10.3207658919455,10.9627157938009,10.7070998609129,10.6364575135585,10.162765010291,10.0743826125265,11.9431285021072,11.1291316578156,10.117037197176,10.6556549023256,17.2449092001146,10.0426444149505,10.4881845974963,10.0058422532471,10.6467179891667,10.3083808365148,10.4486613928801,12.9195222681848,12.1909707579554,10.0678759161872,12.0903767356689,10.2908178344231,10.6259933027033,11.4435678334875,10.6386965536858,10.774326144912],"sizemode":"area","line":{"color":"rgba(102,194,165,1)"}},"textfont":{"color":"rgba(102,194,165,1)","size":[11.9801567177932,10.6699042205832,10.4099323120829,10.1007772816293,10.7025168075228,10.4137224019554,10.9648108200684,10.2482022222446,10.5120341117037,10.0319404312567,13.2583289333206,10.187077143428,10.9941704001034,10.0244275489838,14.5097687638314,10.0259334152337,10.2728965722604,14.0816182889745,10.0727698620565,10.0802488908345,11.2530077387505,10.5452612487821,10.0773782373149,11.9249954508418,10.1312377145286,10.1461101828048,10.3207658919455,10.9627157938009,10.7070998609129,10.6364575135585,10.162765010291,10.0743826125265,11.9431285021072,11.1291316578156,10.117037197176,10.6556549023256,17.2449092001146,10.0426444149505,10.4881845974963,10.0058422532471,10.6467179891667,10.3083808365148,10.4486613928801,12.9195222681848,12.1909707579554,10.0678759161872,12.0903767356689,10.2908178344231,10.6259933027033,11.4435678334875,10.6386965536858,10.774326144912]},"error_y":{"color":"rgba(102,194,165,1)","width":[]},"error_x":{"color":"rgba(102,194,165,1)","width":[]},"line":{"color":"rgba(102,194,165,1)"},"xaxis":"x","yaxis":"y","visible":true},{"x":[10967.28195,3326.143191,7957.980824,28954.92589,10118.05318,6117.361746,6677.045314,5431.990415,3614.101285,7429.455877,5154.825496,4684.313807,1341.726931,3160.454906,7121.924704,9767.29753,2253.023004,7113.692252,4247.400261,5838.347657,16999.4333,8792.573126,35767.43303,9230.240708,10165.49518],"y":[73.275,62.05,69.388,78.61,75.816,70.313,77.26,76.151,69.957,72.312,69.535,66.322,56.671,67.659,72.262,73.67,68.426,73.738,69.4,68.386,74.917,69.465,76.81,74.223,72.146],"text":["Argentina","Bolivia","Brazil","Canada","Chile","Colombia","Costa Rica","Cuba","Dominican Republic","Ecuador","El Salvador","Guatemala","Haiti","Honduras","Jamaica","Mexico","Nicaragua","Panama","Paraguay","Peru","Puerto Rico","Trinidad and Tobago","United States","Uruguay","Venezuela"],"hoverinfo":["text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text"],"frame":"1997","type":"scatter","mode":"markers","name":"Americas","marker":{"color":"rgba(252,141,98,1)","size":[12.4668995386199,10.520987337333,21.4997256551139,12.064369197662,10.9923932281225,12.566164469963,10.2360254750128,10.7455273998938,10.5414065233053,10.8089216184168,10.3906412119275,10.6650480868838,10.4677743526688,10.3964098201724,10.1686736737208,16.541036819479,10.3105212510366,10.1825440512442,10.3476884981124,11.6850379879403,10.2524964971321,10.0735828919604,28.622954268998,10.2186025963591,11.5230241703223],"sizemode":"area","line":{"color":"rgba(252,141,98,1)"}},"textfont":{"color":"rgba(252,141,98,1)","size":[12.4668995386199,10.520987337333,21.4997256551139,12.064369197662,10.9923932281225,12.566164469963,10.2360254750128,10.7455273998938,10.5414065233053,10.8089216184168,10.3906412119275,10.6650480868838,10.4677743526688,10.3964098201724,10.1686736737208,16.541036819479,10.3105212510366,10.1825440512442,10.3476884981124,11.6850379879403,10.2524964971321,10.0735828919604,28.622954268998,10.2186025963591,11.5230241703223]},"error_y":{"color":"rgba(252,141,98,1)","width":[]},"error_x":{"color":"rgba(252,141,98,1)","width":[]},"line":{"color":"rgba(252,141,98,1)"},"xaxis":"x","yaxis":"y","visible":true},{"x":[635.341351,20292.01679,972.7700352,734.28517,2289.234136,28377.63219,1458.817442,3119.335603,8263.590301,3076.239795,20896.60924,28816.58499,3645.379572,1690.756814,15993.52796,40300.61996,8754.96385,10132.90964,1902.2521,415,1010.892138,19702.05581,2049.350521,2536.534925,20586.69019,33519.4766,2664.477257,4014.238972,20206.82098,5852.625497,1385.896769,7110.667619,2117.484526],"y":[41.763,73.925,59.412,56.534,70.426,80,61.765,66.041,68.042,58.811,78.269,80.69,69.772,67.727,74.647,76.156,70.265,71.938,63.625,60.328,59.426,72.499,61.818,68.564,70.533,77.158,70.457,71.527,75.25,67.521,70.672,71.096,58.02],"text":["Afghanistan","Bahrain","Bangladesh","Cambodia","China","Hong Kong, China","India","Indonesia","Iran","Iraq","Israel","Japan","Jordan","Korea, Dem. Rep.","Korea, Rep.","Kuwait","Lebanon","Malaysia","Mongolia","Myanmar","Nepal","Oman","Pakistan","Philippines","Saudi Arabia","Singapore","Sri Lanka","Syria","Taiwan","Thailand","Vietnam","West Bank and Gaza","Yemen, Rep."],"hoverinfo":["text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text"],"frame":"1997","type":"scatter","mode":"markers","name":"Asia","marker":{"color":"rgba(141,160,203,1)","size":[11.5129921375523,10.0367576607382,18.4125441577568,10.8001267397802,93.9522303752175,10.4392700511534,75.4505445807511,23.5972282102129,14.3182300573784,11.4139084179616,10.3734379032201,18.5928147693547,10.3048332496014,11.4691525440721,13.1474061824119,10.1163941855303,10.2300383888699,11.393458995904,10.1661818926824,12.947701344088,11.5657993580478,10.151769040203,19.2486125934918,15.1157665952739,11.4448991085273,10.2554231181233,11.2721436315518,11.0252288659121,11.4721215501851,14.1058737721098,15.1864772638953,10.1887902258286,11.0761101911089],"sizemode":"area","line":{"color":"rgba(141,160,203,1)"}},"textfont":{"color":"rgba(141,160,203,1)","size":[11.5129921375523,10.0367576607382,18.4125441577568,10.8001267397802,93.9522303752175,10.4392700511534,75.4505445807511,23.5972282102129,14.3182300573784,11.4139084179616,10.3734379032201,18.5928147693547,10.3048332496014,11.4691525440721,13.1474061824119,10.1163941855303,10.2300383888699,11.393458995904,10.1661818926824,12.947701344088,11.5657993580478,10.151769040203,19.2486125934918,15.1157665952739,11.4448991085273,10.2554231181233,11.2721436315518,11.0252288659121,11.4721215501851,14.1058737721098,15.1864772638953,10.1887902258286,11.0761101911089]},"error_y":{"color":"rgba(141,160,203,1)","width":[]},"error_x":{"color":"rgba(141,160,203,1)","width":[]},"line":{"color":"rgba(141,160,203,1)"},"xaxis":"x","yaxis":"y","visible":true},{"x":[3193.054604,29095.92066,27561.19663,4766.355904,5970.38876,9875.604515,16048.51424,29804.34567,23723.9502,25889.78487,27788.88416,18747.69814,11712.7768,28061.09966,24521.94713,24675.02446,6465.613349,30246.13063,41283.16433,10159.58368,17641.03156,7346.547557,7914.320304,12126.23065,17161.10735,20445.29896,25266.59499,32135.32301,6601.429915,26074.53136],"y":[72.95,77.51,77.53,73.244,70.32,73.68,74.01,76.11,77.13,78.64,77.34,77.869,71.04,78.95,76.122,78.82,75.445,78.03,78.32,72.75,75.97,69.72,72.232,72.71,75.13,78.77,79.39,79.37,68.835,77.218],"text":["Albania","Austria","Belgium","Bosnia and Herzegovina","Bulgaria","Croatia","Czech Republic","Denmark","Finland","France","Germany","Greece","Hungary","Iceland","Ireland","Italy","Montenegro","Netherlands","Norway","Poland","Portugal","Romania","Serbia","Slovak Republic","Slovenia","Spain","Sweden","Switzerland","Turkey","United Kingdom"],"hoverinfo":["text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text"],"frame":"1997","type":"scatter","mode":"markers","name":"Europe","marker":{"color":"rgba(231,138,195,1)","size":[10.2298779942867,10.5466974287046,10.6920702741982,10.2420926901943,10.5464367704438,10.2992610735311,10.6989583683802,10.3565299935576,10.3463427534336,13.9971297256638,15.5934069893824,10.7127226124666,10.6951346297718,10.0144137397686,10.246203773992,13.9190510759183,10.0431795868339,11.0609557696315,10.2966044614637,12.6342213931436,10.6891100044711,11.5358598321521,10.7014077642968,10.3633107257484,10.1332026505512,12.7161581127635,10.6031933833465,10.4868999392651,14.2990960074084,14.0097454762822],"sizemode":"area","line":{"color":"rgba(231,138,195,1)"}},"textfont":{"color":"rgba(231,138,195,1)","size":[10.2298779942867,10.5466974287046,10.6920702741982,10.2420926901943,10.5464367704438,10.2992610735311,10.6989583683802,10.3565299935576,10.3463427534336,13.9971297256638,15.5934069893824,10.7127226124666,10.6951346297718,10.0144137397686,10.246203773992,13.9190510759183,10.0431795868339,11.0609557696315,10.2966044614637,12.6342213931436,10.6891100044711,11.5358598321521,10.7014077642968,10.3633107257484,10.1332026505512,12.7161581127635,10.6031933833465,10.4868999392651,14.2990960074084,14.0097454762822]},"error_y":{"color":"rgba(231,138,195,1)","width":[]},"error_x":{"color":"rgba(231,138,195,1)","width":[]},"line":{"color":"rgba(231,138,195,1)"},"xaxis":"x","yaxis":"y","visible":true},{"x":[26997.93657,21050.41377],"y":[78.83,77.55],"text":["Australia","New Zealand"],"hoverinfo":["text","text"],"frame":"1997","type":"scatter","mode":"markers","name":"Oceania","marker":{"color":"rgba(166,216,84,1)","size":[11.2630378604361,10.2468149114802],"sizemode":"area","line":{"color":"rgba(166,216,84,1)"}},"textfont":{"color":"rgba(166,216,84,1)","size":[11.2630378604361,10.2468149114802]},"error_y":{"color":"rgba(166,216,84,1)","width":[]},"error_x":{"color":"rgba(166,216,84,1)","width":[]},"line":{"color":"rgba(166,216,84,1)"},"xaxis":"x","yaxis":"y","visible":true}],"traces":[0,1,2,3,4]},{"name":"2002","data":[{"x":[5288.040382,2773.287312,1372.877931,11003.60508,1037.645221,446.4035126,1934.011449,738.6906068,1156.18186,1075.811558,241.1658765,3484.06197,1648.800823,1908.260867,4754.604414,7703.4959,765.3500015,530.0535319,12521.71392,660.5855997,1111.984578,945.5835837,575.7047176,1287.514732,1275.184575,531.4823679,9534.677467,894.6370822,665.4231186,951.4097518,1579.019543,9021.815894,3258.495584,633.6179466,4072.324751,601.0745012,1615.286395,6316.1652,785.6537648,1353.09239,1519.635262,699.489713,882.0818218,7710.946444,1993.398314,4128.116943,899.0742111,886.2205765,5722.895655,927.7210018,1071.613938,672.0386227],"y":[70.994,41.003,54.406,46.634,50.65,47.36,49.856,43.308,50.525,62.974,44.966,52.97,46.832,53.373,69.806,49.348,55.24,50.725,56.761,58.041,58.453,53.676,45.504,50.992,44.593,43.753,72.737,57.286,45.009,51.818,62.247,71.954,69.615,44.026,51.479,54.496,46.608,75.744,43.413,64.337,61.6,41.012,45.936,53.365,56.369,43.869,49.651,57.561,73.042,47.813,39.193,39.989],"text":["Algeria","Angola","Benin","Botswana","Burkina Faso","Burundi","Cameroon","Central African Republic","Chad","Comoros","Congo, Dem. Rep.","Congo, Rep.","Cote d'Ivoire","Djibouti","Egypt","Equatorial Guinea","Eritrea","Ethiopia","Gabon","Gambia","Ghana","Guinea","Guinea-Bissau","Kenya","Lesotho","Liberia","Libya","Madagascar","Malawi","Mali","Mauritania","Mauritius","Morocco","Mozambique","Namibia","Niger","Nigeria","Reunion","Rwanda","Sao Tome and Principe","Senegal","Sierra Leone","Somalia","South Africa","Sudan","Swaziland","Tanzania","Togo","Tunisia","Uganda","Zambia","Zimbabwe"],"hoverinfo":["text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text"],"frame":"2002","type":"scatter","mode":"markers","name":"Africa","marker":{"color":"rgba(102,194,165,1)","size":[12.1313458121355,10.7375485542937,10.4754574579589,10.1071801651341,10.8320860088689,10.4751138040329,11.0831737637901,10.2721931566972,10.5989698868346,10.0378374916741,13.7757458872336,10.2231043604094,11.1052016050515,10.0264415589236,14.9997071907777,10.0297321049859,10.2972319114222,14.6334777613877,10.0845854825907,10.0954009917095,11.398554765936,10.5970641944282,10.0868484112729,12.1381506376403,10.1356024265266,10.1880124827331,10.3623261760202,11.1202685261649,10.8029614922144,10.7180329699749,10.1889821533043,10.0778217454004,12.1231992006268,11.2567952350083,10.1305094548682,10.7562873510591,18.1795274121111,10.0466830140472,10.5318541044653,10.007532470888,10.7378168568921,10.3616782501574,10.5250908450461,13.0286326968104,12.5274287003704,10.073048334354,12.3570337538873,10.3356251191371,10.6627752615146,11.684474695815,10.7191001058502,10.8099279408566],"sizemode":"area","line":{"color":"rgba(102,194,165,1)"}},"textfont":{"color":"rgba(102,194,165,1)","size":[12.1313458121355,10.7375485542937,10.4754574579589,10.1071801651341,10.8320860088689,10.4751138040329,11.0831737637901,10.2721931566972,10.5989698868346,10.0378374916741,13.7757458872336,10.2231043604094,11.1052016050515,10.0264415589236,14.9997071907777,10.0297321049859,10.2972319114222,14.6334777613877,10.0845854825907,10.0954009917095,11.398554765936,10.5970641944282,10.0868484112729,12.1381506376403,10.1356024265266,10.1880124827331,10.3623261760202,11.1202685261649,10.8029614922144,10.7180329699749,10.1889821533043,10.0778217454004,12.1231992006268,11.2567952350083,10.1305094548682,10.7562873510591,18.1795274121111,10.0466830140472,10.5318541044653,10.007532470888,10.7378168568921,10.3616782501574,10.5250908450461,13.0286326968104,12.5274287003704,10.073048334354,12.3570337538873,10.3356251191371,10.6627752615146,11.684474695815,10.7191001058502,10.8099279408566]},"error_y":{"color":"rgba(102,194,165,1)","width":[]},"error_x":{"color":"rgba(102,194,165,1)","width":[]},"line":{"color":"rgba(102,194,165,1)"},"xaxis":"x","yaxis":"y","visible":true},{"x":[8797.640716,3413.26269,8131.212843,33328.96507,10778.78385,5755.259962,7723.447195,6340.646683,4563.808154,5773.044512,5351.568666,4858.347495,1270.364932,3099.72866,6994.774861,10742.44053,2474.548819,7356.031934,3783.674243,5909.020073,18855.60618,11460.60023,39097.09955,7727.002004,8605.047831],"y":[74.34,63.883,71.006,79.77,77.86,71.682,78.123,77.158,70.847,74.173,70.734,68.978,58.137,68.565,72.047,74.902,70.836,74.712,70.755,69.906,77.778,68.976,77.31,75.307,72.766],"text":["Argentina","Bolivia","Brazil","Canada","Chile","Colombia","Costa Rica","Cuba","Dominican Republic","Ecuador","El Salvador","Guatemala","Haiti","Honduras","Jamaica","Mexico","Nicaragua","Panama","Paraguay","Peru","Puerto Rico","Trinidad and Tobago","United States","Uruguay","Venezuela"],"hoverinfo":["text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text"],"frame":"2002","type":"scatter","mode":"markers","name":"Americas","marker":{"color":"rgba(252,141,98,1)","size":[12.6121186100727,10.572309918266,22.2755913150118,12.1733300156807,11.0536241673639,12.7948391636113,10.2576498727079,10.7621805893077,10.5863146177211,10.8778172346346,10.4295619471883,10.7588806243294,10.5151491792668,10.4516518304395,10.1777750766437,16.9904679698521,10.3471919574349,10.2000403018881,10.3975383155073,11.8229987608627,10.2593338110716,10.0711074233923,29.6306257978185,10.2254447562626,11.6536107510965],"sizemode":"area","line":{"color":"rgba(252,141,98,1)"}},"textfont":{"color":"rgba(252,141,98,1)","size":[12.6121186100727,10.572309918266,22.2755913150118,12.1733300156807,11.0536241673639,12.7948391636113,10.2576498727079,10.7621805893077,10.5863146177211,10.8778172346346,10.4295619471883,10.7588806243294,10.5151491792668,10.4516518304395,10.1777750766437,16.9904679698521,10.3471919574349,10.2000403018881,10.3975383155073,11.8229987608627,10.2593338110716,10.0711074233923,29.6306257978185,10.2254447562626,11.6536107510965]},"error_y":{"color":"rgba(252,141,98,1)","width":[]},"error_x":{"color":"rgba(252,141,98,1)","width":[]},"line":{"color":"rgba(252,141,98,1)"},"xaxis":"x","yaxis":"y","visible":true},{"x":[726.7340548,23403.55927,1136.39043,896.2260153,3119.280896,30209.01516,1746.769454,2873.91287,9240.761975,4390.717312,21905.59514,28604.5919,3844.917194,1646.758151,19233.98818,35110.10566,9313.93883,10206.97794,2140.739323,611,1057.206311,19774.83687,2092.712441,2650.921068,19014.54118,36023.1054,3015.378833,4090.925331,23235.42329,5913.187529,1764.456677,4515.487575,2234.820827],"y":[42.129,74.795,62.013,56.752,72.028,81.495,62.879,68.588,69.451,57.046,79.696,82,71.263,66.662,77.045,76.904,71.028,73.044,65.033,59.908,61.34,74.193,63.61,70.303,71.626,78.77,70.815,73.053,76.99,68.564,73.017,72.37,60.308],"text":["Afghanistan","Bahrain","Bangladesh","Cambodia","China","Hong Kong, China","India","Indonesia","Iran","Iraq","Israel","Japan","Jordan","Korea, Dem. Rep.","Korea, Rep.","Kuwait","Lebanon","Malaysia","Mongolia","Myanmar","Nepal","Oman","Pakistan","Philippines","Saudi Arabia","Singapore","Sri Lanka","Syria","Taiwan","Thailand","Vietnam","West Bank and Gaza","Yemen, Rep."],"hoverinfo":["text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text"],"frame":"2002","type":"scatter","mode":"markers","name":"Asia","marker":{"color":"rgba(141,160,203,1)","size":[11.7205488708701,10.0407051420611,19.2548888676555,10.8781907833807,97.3870633093004,10.4574634380832,80.5812974903287,24.4013852222222,14.5625648590856,11.6341003540068,10.4074375961649,18.6685307045114,10.3581548930641,11.5121696887325,13.2699431392102,10.1400244710565,10.2469236385316,11.5426787860308,10.1784285992536,13.1081105333447,11.7618768899378,10.1811060284903,20.4661569534102,15.6605689790423,11.6682073406898,10.2824149328464,11.3320785143087,11.1668400830401,11.5284735592203,14.2826539245671,15.5181289655641,10.2272529833648,11.2723212258945],"sizemode":"area","line":{"color":"rgba(141,160,203,1)"}},"textfont":{"color":"rgba(141,160,203,1)","size":[11.7205488708701,10.0407051420611,19.2548888676555,10.8781907833807,97.3870633093004,10.4574634380832,80.5812974903287,24.4013852222222,14.5625648590856,11.6341003540068,10.4074375961649,18.6685307045114,10.3581548930641,11.5121696887325,13.2699431392102,10.1400244710565,10.2469236385316,11.5426787860308,10.1784285992536,13.1081105333447,11.7618768899378,10.1811060284903,20.4661569534102,15.6605689790423,11.6682073406898,10.2824149328464,11.3320785143087,11.1668400830401,11.5284735592203,14.2826539245671,15.5181289655641,10.2272529833648,11.2723212258945]},"error_y":{"color":"rgba(141,160,203,1)","width":[]},"error_x":{"color":"rgba(141,160,203,1)","width":[]},"line":{"color":"rgba(141,160,203,1)"},"xaxis":"x","yaxis":"y","visible":true},{"x":[4604.211737,32417.60769,30485.88375,6018.975239,7696.777725,11628.38895,17596.21022,32166.50006,28204.59057,28926.03234,30035.80198,22514.2548,14843.93556,31163.20196,34077.04939,27968.09817,6557.194282,33724.75778,44683.97525,12002.23908,19970.90787,7885.360081,7236.075251,13638.77837,20660.01936,24835.47166,29341.63093,34480.95771,6508.085718,29478.99919],"y":[75.651,78.98,78.32,74.09,72.14,74.876,75.51,77.18,78.37,79.59,78.67,78.256,72.59,80.5,77.783,80.24,73.981,78.53,79.05,74.67,77.29,71.322,73.213,73.8,76.66,79.78,80.04,80.62,70.845,78.471],"text":["Albania","Austria","Belgium","Bosnia and Herzegovina","Bulgaria","Croatia","Czech Republic","Denmark","Finland","France","Germany","Greece","Hungary","Iceland","Ireland","Italy","Montenegro","Netherlands","Norway","Poland","Portugal","Romania","Serbia","Slovak Republic","Slovenia","Spain","Sweden","Switzerland","Turkey","United Kingdom"],"hoverinfo":["text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text"],"frame":"2002","type":"scatter","mode":"markers","name":"Europe","marker":{"color":"rgba(231,138,195,1)","size":[10.2353705873426,10.5520509221177,10.6997271020778,10.2802062653105,10.5188449434737,10.3017471895693,10.6959271155184,10.3627430654303,10.3503446324087,14.0859683265745,15.6165855764614,10.7196496791196,10.6841205726351,10.0155629840198,10.260668089244,13.9495963473141,10.0450619367095,11.0963358115333,10.3054718248012,12.6322433525422,10.7080469397364,11.5250675973112,10.686048447271,10.3651564237555,10.1331948014546,12.7364343769243,10.6070535008114,10.4983661726201,14.5899412795431,14.0851080655849],"sizemode":"area","line":{"color":"rgba(231,138,195,1)"}},"textfont":{"color":"rgba(231,138,195,1)","size":[10.2353705873426,10.5520509221177,10.6997271020778,10.2802062653105,10.5188449434737,10.3017471895693,10.6959271155184,10.3627430654303,10.3503446324087,14.0859683265745,15.6165855764614,10.7196496791196,10.6841205726351,10.0155629840198,10.260668089244,13.9495963473141,10.0450619367095,11.0963358115333,10.3054718248012,12.6322433525422,10.7080469397364,11.5250675973112,10.686048447271,10.3651564237555,10.1331948014546,12.7364343769243,10.6070535008114,10.4983661726201,14.5899412795431,14.0851080655849]},"error_y":{"color":"rgba(231,138,195,1)","width":[]},"error_x":{"color":"rgba(231,138,195,1)","width":[]},"line":{"color":"rgba(231,138,195,1)"},"xaxis":"x","yaxis":"y","visible":true},{"x":[30687.75473,23189.80135],"y":[80.37,79.11],"text":["Australia","New Zealand"],"hoverinfo":["text","text"],"frame":"2002","type":"scatter","mode":"markers","name":"Oceania","marker":{"color":"rgba(166,216,84,1)","size":[11.3300315381632,10.262639372797],"sizemode":"area","line":{"color":"rgba(166,216,84,1)"}},"textfont":{"color":"rgba(166,216,84,1)","size":[11.3300315381632,10.262639372797]},"error_y":{"color":"rgba(166,216,84,1)","width":[]},"error_x":{"color":"rgba(166,216,84,1)","width":[]},"line":{"color":"rgba(166,216,84,1)"},"xaxis":"x","yaxis":"y","visible":true}],"traces":[0,1,2,3,4]},{"name":"2007","data":[{"x":[6223.367465,4797.231267,1441.284873,12569.85177,1217.032994,430.0706916,2042.09524,706.016537,1704.063724,986.1478792,277.5518587,3632.557798,1544.750112,2082.481567,5581.180998,12154.08975,641.3695236,690.8055759,13206.48452,752.7497265,1327.60891,942.6542111,579.231743,1463.249282,1569.331442,414.5073415,12057.49928,1044.770126,759.3499101,1042.581557,1803.151496,10956.99112,3820.17523,823.6856205,4811.060429,619.6768924,2013.977305,7670.122558,863.0884639,1598.435089,1712.472136,862.5407561,926.1410683,9269.657808,2602.394995,4513.480643,1107.482182,882.9699438,7092.923025,1056.380121,1271.211593,469.7092981],"y":[72.301,42.731,56.728,50.728,52.295,49.58,50.43,44.741,50.651,65.152,46.462,55.322,48.328,54.791,71.338,51.579,58.04,52.947,56.735,59.448,60.022,56.007,46.388,54.11,42.592,45.678,73.952,59.443,48.303,54.467,64.164,72.801,71.164,42.082,52.906,56.867,46.859,76.442,46.242,65.528,63.062,42.568,48.159,49.339,58.556,39.613,52.517,58.42,73.923,51.542,42.384,43.487],"text":["Algeria","Angola","Benin","Botswana","Burkina Faso","Burundi","Cameroon","Central African Republic","Chad","Comoros","Congo, Dem. Rep.","Congo, Rep.","Cote d'Ivoire","Djibouti","Egypt","Equatorial Guinea","Eritrea","Ethiopia","Gabon","Gambia","Ghana","Guinea","Guinea-Bissau","Kenya","Lesotho","Liberia","Libya","Madagascar","Malawi","Mali","Mauritania","Mauritius","Morocco","Mozambique","Namibia","Niger","Nigeria","Reunion","Rwanda","Sao Tome and Principe","Senegal","Sierra Leone","Somalia","South Africa","Sudan","Swaziland","Tanzania","Togo","Tunisia","Uganda","Zambia","Zimbabwe"],"hoverinfo":["text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text"],"frame":"2007","type":"scatter","mode":"markers","name":"Africa","marker":{"color":"rgba(102,194,165,1)","size":[12.2709965296869,10.8436389918048,10.5472733476375,10.1077796996099,10.9737106035877,10.5685813243593,11.2037294038425,10.2941040805455,10.694733506808,10.0444292312689,14.4055101007124,10.2553071562523,11.2253735266587,10.0297830899874,15.4742010526837,10.0335251979909,10.3307932835106,15.2180709698405,10.0952031262216,10.1111396589875,11.5570783291724,10.6748723574789,10.0963753034856,12.4264059809024,10.1332734289268,10.2139002367003,10.407941644674,11.3041542269071,10.905517379138,10.8171103420353,10.2190958608919,10.0812805351425,12.2999330092875,11.3576647264597,10.1361694725677,10.876017470906,19.2121880074623,10.0503763893986,10.6006659059818,10.0095259366705,10.8331974409503,10.4152889451348,10.6182878104246,12.998888442788,12.8825239473189,10.0732392380344,12.5990494546817,10.3850540201941,10.6972828251373,11.9868716540785,10.7976063607289,10.8361766850153],"sizemode":"area","line":{"color":"rgba(102,194,165,1)"}},"textfont":{"color":"rgba(102,194,165,1)","size":[12.2709965296869,10.8436389918048,10.5472733476375,10.1077796996099,10.9737106035877,10.5685813243593,11.2037294038425,10.2941040805455,10.694733506808,10.0444292312689,14.4055101007124,10.2553071562523,11.2253735266587,10.0297830899874,15.4742010526837,10.0335251979909,10.3307932835106,15.2180709698405,10.0952031262216,10.1111396589875,11.5570783291724,10.6748723574789,10.0963753034856,12.4264059809024,10.1332734289268,10.2139002367003,10.407941644674,11.3041542269071,10.905517379138,10.8171103420353,10.2190958608919,10.0812805351425,12.2999330092875,11.3576647264597,10.1361694725677,10.876017470906,19.2121880074623,10.0503763893986,10.6006659059818,10.0095259366705,10.8331974409503,10.4152889451348,10.6182878104246,12.998888442788,12.8825239473189,10.0732392380344,12.5990494546817,10.3850540201941,10.6972828251373,11.9868716540785,10.7976063607289,10.8361766850153]},"error_y":{"color":"rgba(102,194,165,1)","width":[]},"error_x":{"color":"rgba(102,194,165,1)","width":[]},"line":{"color":"rgba(102,194,165,1)"},"xaxis":"x","yaxis":"y","visible":true},{"x":[12779.37964,3822.137084,9065.800825,36319.23501,13171.63885,7006.580419,9645.06142,8948.102923,6025.374752,6873.262326,5728.353514,5186.050003,1201.637154,3548.330846,7320.880262,11977.57496,2749.320965,9809.185636,4172.838464,7408.905561,19328.70901,18008.50924,42951.65309,10611.46299,11415.80569],"y":[75.32,65.554,72.39,80.653,78.553,72.889,78.782,78.273,72.235,74.994,71.878,70.259,60.916,70.198,72.567,76.195,72.899,75.537,71.752,71.421,78.746,69.819,78.242,76.384,73.747],"text":["Argentina","Bolivia","Brazil","Canada","Chile","Colombia","Costa Rica","Cuba","Dominican Republic","Ecuador","El Salvador","Guatemala","Haiti","Honduras","Jamaica","Mexico","Nicaragua","Panama","Paraguay","Peru","Puerto Rico","Trinidad and Tobago","United States","Uruguay","Venezuela"],"hoverinfo":["text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text"],"frame":"2007","type":"scatter","mode":"markers","name":"Americas","marker":{"color":"rgba(252,141,98,1)","size":[12.7466320597595,10.618313678317,22.9647034353262,12.274881832514,11.1073867252976,13.0145676616908,10.2780541112702,10.7751478429486,10.6319963600516,10.93477068923,10.4695586912161,10.8540443003089,10.5762467521187,10.5066934498572,10.1856564569397,17.4150675133979,10.3832642214056,10.2171921478229,10.450956946503,11.9530426619218,10.2649909621444,10.0680207490831,30.5496131140462,10.2312060614349,11.7762608713922],"sizemode":"area","line":{"color":"rgba(252,141,98,1)"}},"textfont":{"color":"rgba(252,141,98,1)","size":[12.7466320597595,10.618313678317,22.9647034353262,12.274881832514,11.1073867252976,13.0145676616908,10.2780541112702,10.7751478429486,10.6319963600516,10.93477068923,10.4695586912161,10.8540443003089,10.5762467521187,10.5066934498572,10.1856564569397,17.4150675133979,10.3832642214056,10.2171921478229,10.450956946503,11.9530426619218,10.2649909621444,10.0680207490831,30.5496131140462,10.2312060614349,11.7762608713922]},"error_y":{"color":"rgba(252,141,98,1)","width":[]},"error_x":{"color":"rgba(252,141,98,1)","width":[]},"line":{"color":"rgba(252,141,98,1)"},"xaxis":"x","yaxis":"y","visible":true},{"x":[974.5803384,29796.04834,1391.253792,1713.778686,4959.114854,39724.97867,2452.210407,3540.651564,11605.71449,4471.061906,25523.2771,31656.06806,4519.461171,1593.06548,23348.13973,47306.98978,10461.05868,12451.6558,3095.772271,944,1091.359778,22316.19287,2605.94758,3190.481016,21654.83194,47143.17964,3970.095407,4184.548089,28718.27684,7458.396327,2441.576404,3025.349798,2280.769906],"y":[43.828,75.635,64.062,59.723,72.961,82.208,64.698,70.65,70.964,59.545,80.745,82.603,72.535,67.297,78.623,77.588,71.993,74.241,66.803,62.069,63.785,75.64,65.483,71.688,72.777,79.972,72.396,74.143,78.4,70.616,74.249,73.422,62.698],"text":["Afghanistan","Bahrain","Bangladesh","Cambodia","China","Hong Kong, China","India","Indonesia","Iran","Iraq","Israel","Japan","Jordan","Korea, Dem. Rep.","Korea, Rep.","Kuwait","Lebanon","Malaysia","Mongolia","Myanmar","Nepal","Oman","Pakistan","Philippines","Saudi Arabia","Singapore","Sri Lanka","Syria","Taiwan","Thailand","Vietnam","West Bank and Gaza","Yemen, Rep."],"hoverinfo":["text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text"],"frame":"2007","type":"scatter","mode":"markers","name":"Asia","marker":{"color":"rgba(141,160,203,1)","size":[12.1724874322218,10.0442663113243,20.2644566699665,10.9604459715643,100,10.472338226962,85.7838004936794,25.2536606091649,14.7363195601873,11.8728372482573,10.4345442807108,18.6959773573204,10.4090527354904,11.5863170331194,13.3433588112861,10.1669160221019,10.2635431109565,11.6900316514632,10.1920718989991,13.2558031622812,11.9685383484698,10.2146479484697,21.5491338755077,16.212203421268,11.8797581038861,10.3066606558007,11.3867803019693,11.3141937675086,11.5776194832809,14.4370013588834,15.8153168537922,10.270167338986,11.5119224763155],"sizemode":"area","line":{"color":"rgba(141,160,203,1)"}},"textfont":{"color":"rgba(141,160,203,1)","size":[12.1724874322218,10.0442663113243,20.2644566699665,10.9604459715643,100,10.472338226962,85.7838004936794,25.2536606091649,14.7363195601873,11.8728372482573,10.4345442807108,18.6959773573204,10.4090527354904,11.5863170331194,13.3433588112861,10.1669160221019,10.2635431109565,11.6900316514632,10.1920718989991,13.2558031622812,11.9685383484698,10.2146479484697,21.5491338755077,16.212203421268,11.8797581038861,10.3066606558007,11.3867803019693,11.3141937675086,11.5776194832809,14.4370013588834,15.8153168537922,10.270167338986,11.5119224763155]},"error_y":{"color":"rgba(141,160,203,1)","width":[]},"error_x":{"color":"rgba(141,160,203,1)","width":[]},"line":{"color":"rgba(141,160,203,1)"},"xaxis":"x","yaxis":"y","visible":true},{"x":[5937.029526,36126.4927,33692.60508,7446.298803,10680.79282,14619.22272,22833.30851,35278.41874,33207.0844,30470.0167,32170.37442,27538.41188,18008.94444,36180.78919,40675.99635,28569.7197,9253.896111,36797.93332,49357.19017,15389.92468,20509.64777,10808.47561,9786.534714,18678.31435,25768.25759,28821.0637,33859.74835,37506.41907,8458.276384,33203.26128],"y":[76.423,79.829,79.441,74.852,73.005,75.748,76.486,78.332,79.313,80.657,79.406,79.483,73.338,81.757,78.885,80.546,74.543,79.762,80.196,75.563,78.098,72.476,74.002,74.663,77.926,80.941,80.884,81.701,71.777,79.425],"text":["Albania","Austria","Belgium","Bosnia and Herzegovina","Bulgaria","Croatia","Czech Republic","Denmark","Finland","France","Germany","Greece","Hungary","Iceland","Ireland","Italy","Montenegro","Netherlands","Norway","Poland","Portugal","Romania","Serbia","Slovak Republic","Slovenia","Spain","Sweden","Switzerland","Turkey","United Kingdom"],"hoverinfo":["text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text","text"],"frame":"2007","type":"scatter","mode":"markers","name":"Europe","marker":{"color":"rgba(231,138,195,1)","size":[10.2416506154221,10.555563973006,10.7052048159767,10.3066053026062,10.495711198625,10.3025861556185,10.6940466767272,10.3691197397776,10.3534447525617,14.1650654477963,15.6200204093955,10.7266406305938,10.6754384479777,10.0165117691687,10.2763615730268,13.9646621081262,10.0426393642274,11.1268983509416,10.3117739668573,12.6248901140693,10.7223097038378,11.5163120324107,10.6886902484344,10.3677124991331,10.1330410956668,12.7566150186124,10.6123030448841,10.5115324520502,14.8526962046929,14.144065496927],"sizemode":"area","line":{"color":"rgba(231,138,195,1)"}},"textfont":{"color":"rgba(231,138,195,1)","size":[10.2416506154221,10.555563973006,10.7052048159767,10.3066053026062,10.495711198625,10.3025861556185,10.6940466767272,10.3691197397776,10.3534447525617,14.1650654477963,15.6200204093955,10.7266406305938,10.6754384479777,10.0165117691687,10.2763615730268,13.9646621081262,10.0426393642274,11.1268983509416,10.3117739668573,12.6248901140693,10.7223097038378,11.5163120324107,10.6886902484344,10.3677124991331,10.1330410956668,12.7566150186124,10.6123030448841,10.5115324520502,14.8526962046929,14.144065496927]},"error_y":{"color":"rgba(231,138,195,1)","width":[]},"error_x":{"color":"rgba(231,138,195,1)","width":[]},"line":{"color":"rgba(231,138,195,1)"},"xaxis":"x","yaxis":"y","visible":true},{"x":[34435.36744,25185.00911],"y":[81.235,80.204],"text":["Australia","New Zealand"],"hoverinfo":["text","text"],"frame":"2007","type":"scatter","mode":"markers","name":"Oceania","marker":{"color":"rgba(166,216,84,1)","size":[11.3905981708185,10.276817844426],"sizemode":"area","line":{"color":"rgba(166,216,84,1)"}},"textfont":{"color":"rgba(166,216,84,1)","size":[11.3905981708185,10.276817844426]},"error_y":{"color":"rgba(166,216,84,1)","width":[]},"error_x":{"color":"rgba(166,216,84,1)","width":[]},"line":{"color":"rgba(166,216,84,1)"},"xaxis":"x","yaxis":"y","visible":true}],"traces":[0,1,2,3,4]}],"shinyEvents":["plotly_hover","plotly_click","plotly_selected","plotly_relayout","plotly_brushed","plotly_brushing","plotly_clickannotation","plotly_doubleclick","plotly_deselect","plotly_afterplot","plotly_sunburstclick"],"base_url":"https://plot.ly"},"evals":[],"jsHooks":[]}</script>
  149. ---
  150. # D3
  151. .pull-left[
  152. ### **D**ata **D**riven **D**ocuments
  153. ### Créé par **Mike Bostock**
  154. *Data journalist* au NYT
  155. ]
  156. .pull-right[
  157. ![:scale 50%](04_img/bostock.jpg)
  158. ]
  159. ### Moteur *bas niveau* pour manipuler des éléments du DOM et du SVG à partir de données.
  160. ### Notion de grammaire liant données et propriétés CSS, dont **animations** et **transitions**
  161. .center[https://d3js.org]
  162. ---
  163. class: center
  164. # Outils dérivés de D3.js
  165. ## Plot.ly
  166. ## Vega(lite)
  167. ## C3.js
  168. ## R2D3 https://rstudio.github.io/r2d3/
  169. ---
  170. # Réactivité
  171. ## Tous les outils précédents sont **réactifs**
  172. ### → affichage d'un overlay
  173. ### → changement de position/échelle
  174. ### → afficher / masquer / réordonner
  175. (modulo interactions en *JS* à bricoler soi-même)
  176. ---
  177. # Interactivité
  178. ## Manipulation des données
  179. ## Interactions avec la visualisation
  180. ## Interactions entre éléments de visualisation
  181. ---
  182. # Shiny
  183. ### Architecture client/serveur
  184. ### Client = interface web
  185. ### Serveur = runtime R
  186. https://shiny.rstudio.com/
  187. ---
  188. # Shiny
  189. ## Programmation **événementielle** → programmation **réactive**
  190. ## L'interface est mise à jour *quand nécessaire*
  191. ---
  192. # Interface web
  193. ### Créée dans R
  194. ### Génère HTML + CSS + JS
  195. ### Définit des **input** et **output**
  196. ---
  197. # UI
  198. ```r
  199. ui &lt;- fluidPage(titlePanel = "Titre",
  200. sidebarLayout(
  201. sidebarPanel(
  202. sliderInput(inputId = "bins", label = "Bins",
  203. min = 1, max = 50, value = 30)),
  204. mainPanel(plotOutput(outputId = "figure"))))
  205. ```
  206. ---
  207. # Serveur
  208. ### Créé et exécuté dans R
  209. ### Génère les éléments d'**output** en fonction des **input**
  210. ### Les **outputs** peuvent *générer* de l'input (htmlwidgets : DT, plotly, etc.)
  211. ### Le serveur peut créer des **input** dynamiques
  212. ---
  213. # Server
  214. ```r
  215. server &lt;- function(input, output, session)
  216. {
  217. output$figure &lt;- renderPlot(
  218. {
  219. mtcars %&gt;%
  220. ggplot() +
  221. aes(x = mpg) +
  222. geom_histogram(bins = input$bins)
  223. })
  224. }
  225. ```
  226. </textarea>
  227. <style data-target="print-only">@media screen {.remark-slide-container{display:block;}.remark-slide-scaler{box-shadow:none;}}</style>
  228. <script src="https://remarkjs.com/downloads/remark-latest.min.js"></script>
  229. <script src="addons/macros.js"></script>
  230. <script>var slideshow = remark.create({
  231. "ratio": "4:3",
  232. "countIncrementalSlides": false,
  233. "self-contained": true
  234. });
  235. if (window.HTMLWidgets) slideshow.on('afterShowSlide', function (slide) {
  236. window.dispatchEvent(new Event('resize'));
  237. });
  238. (function(d) {
  239. var s = d.createElement("style"), r = d.querySelector(".remark-slide-scaler");
  240. if (!r) return;
  241. s.type = "text/css"; s.innerHTML = "@page {size: " + r.style.width + " " + r.style.height +"; }";
  242. d.head.appendChild(s);
  243. })(document);
  244. (function(d) {
  245. var el = d.getElementsByClassName("remark-slides-area");
  246. if (!el) return;
  247. var slide, slides = slideshow.getSlides(), els = el[0].children;
  248. for (var i = 1; i < slides.length; i++) {
  249. slide = slides[i];
  250. if (slide.properties.continued === "true" || slide.properties.count === "false") {
  251. els[i - 1].className += ' has-continuation';
  252. }
  253. }
  254. var s = d.createElement("style");
  255. s.type = "text/css"; s.innerHTML = "@media print { .has-continuation { display: none; } }";
  256. d.head.appendChild(s);
  257. })(document);
  258. // delete the temporary CSS (for displaying all slides initially) when the user
  259. // starts to view slides
  260. (function() {
  261. var deleted = false;
  262. slideshow.on('beforeShowSlide', function(slide) {
  263. if (deleted) return;
  264. var sheets = document.styleSheets, node;
  265. for (var i = 0; i < sheets.length; i++) {
  266. node = sheets[i].ownerNode;
  267. if (node.dataset["target"] !== "print-only") continue;
  268. node.parentNode.removeChild(node);
  269. }
  270. deleted = true;
  271. });
  272. })();</script>
  273. <script>
  274. (function() {
  275. var links = document.getElementsByTagName('a');
  276. for (var i = 0; i < links.length; i++) {
  277. if (/^(https?:)?\/\//.test(links[i].getAttribute('href'))) {
  278. links[i].target = '_blank';
  279. }
  280. }
  281. })();
  282. </script>
  283. <script>
  284. slideshow._releaseMath = function(el) {
  285. var i, text, code, codes = el.getElementsByTagName('code');
  286. for (i = 0; i < codes.length;) {
  287. code = codes[i];
  288. if (code.parentNode.tagName !== 'PRE' && code.childElementCount === 0) {
  289. text = code.textContent;
  290. if (/^\\\((.|\s)+\\\)$/.test(text) || /^\\\[(.|\s)+\\\]$/.test(text) ||
  291. /^\$\$(.|\s)+\$\$$/.test(text) ||
  292. /^\\begin\{([^}]+)\}(.|\s)+\\end\{[^}]+\}$/.test(text)) {
  293. code.outerHTML = code.innerHTML; // remove <code></code>
  294. continue;
  295. }
  296. }
  297. i++;
  298. }
  299. };
  300. slideshow._releaseMath(document);
  301. </script>
  302. <!-- dynamically load mathjax for compatibility with self-contained -->
  303. <script>
  304. (function () {
  305. var script = document.createElement('script');
  306. script.type = 'text/javascript';
  307. script.src = 'https://mathjax.rstudio.com/latest/MathJax.js?config=TeX-MML-AM_CHTML';
  308. if (location.protocol !== 'file:' && /^https?:/.test(script.src))
  309. script.src = script.src.replace(/^https?:/, '');
  310. document.getElementsByTagName('head')[0].appendChild(script);
  311. })();
  312. </script>
  313. </body>
  314. </html>