# A tibble: 293 × 4
country level_of_risk region last_accessed
<chr> <chr> <chr> <date>
1 Angola Sporadic/Uncertain Africa 2023-01-16
2 Benin Sporadic/Uncertain Africa 2023-01-16
3 Burkina Faso Frequent/Continuous Africa 2023-01-16
4 Burundi Sporadic/Uncertain Africa 2023-01-16
5 Cameroon Sporadic/Uncertain Africa 2023-01-16
6 Cape Verde Sporadic/Uncertain Africa 2023-01-16
7 Central African Republic Sporadic/Uncertain Africa 2023-01-16
8 Chad Sporadic/Uncertain Africa 2023-01-16
9 Comoros Sporadic/Uncertain Africa 2023-01-16
10 Congo Sporadic/Uncertain Africa 2023-01-16
# ℹ 283 more rows
library(denguedatahub)library(ggplot2)library(maps)library(magrittr)library(viridis)# Filter for the year 2019worlddata2019 <- dplyr::filter(world_annual, year ==2019)# Enhanced plot with captionggplot(worlddata2019, aes(x = long, y = lat, group = group, fill =factor(dengue.present))) +geom_polygon(color ="black") +coord_fixed(1.3) +# Ensures correct aspect ratioscale_fill_viridis_d(name ="Dengue Presence", labels =c("No", "Yes")) +# Using viridis for better color representationlabs(title ="Global Dengue Distribution in 2019",subtitle ="Presence of Dengue Virus Reported by Country",x ="Longitude",y ="Latitude",caption ="Author: Thiyanga S. Talagala, Source: https://denguedatahub.netlify.app/world.html"# Adding caption ) +theme_minimal() +theme(legend.position ="bottom",plot.title =element_text(hjust =0.5, size =16, face ="bold"),plot.subtitle =element_text(hjust =0.5, size =12),axis.text =element_text(size =10),axis.title =element_text(size =12) )