Courte analyse et visualisation des données de vaccinations, PIB et espérance de vie.
library(leaflet)
leaflet() %>%
addTiles() %>%
addMarkers(lng=174.768, lat=-36.852, popup="Là où R est né") %>%
addProviderTiles(providers$Stamen.Watercolor)
library(plotly)
library(gapminder)
df <- gapminder
fig <- df %>%
plot_ly(
x = ~ gdpPercap,
y = ~ lifeExp,
size = ~ pop,
color = ~ continent,
frame = ~ year,
text = ~ country,
hoverinfo = "text",
type = 'scatter',
mode = 'markers',
width = "100%",
height = 600
)
fig <- fig %>% layout(xaxis = list(type = "log"))
fig <- fig %>%
animation_button(
x = 0, xanchor = "left", y = -0.15, yanchor = "bottom"
)
fig
If you see mistakes or want to suggest changes, please create an issue on the source repository.
Text and figures are licensed under Creative Commons Attribution CC BY 4.0. Source code is available at https://cynthiabh.github.io/fas1002_projet-final/, unless otherwise noted. The figures that have been reused from other sources don't fall under this license and can be recognized by a note in their caption: "Figure from ...".
For attribution, please cite this work as
Bello (2021, Dec. 24). Projet d'étude: Covid-19: Analyse des données . Retrieved from https://CynthiaBH.github.io/FAS1002_projet-final
BibTeX citation
@misc{bello2021analyse,
author = {Bello, Cynthia},
title = {Projet d'étude: Covid-19: Analyse des données },
url = {https://CynthiaBH.github.io/FAS1002_projet-final},
year = {2021}
}