examples/labs.R

library(topogram)
library(htmltools)

topogram(world, "pop_est") %>% 
  topogram_labs(
    title = "World population",
    subtitle = "Population estimate for 2017",
    caption = tagList(
      "Data source:",
      tags$a(
        href = "https://www.naturalearthdata.com/",
        "NaturalEarth"
      )
    )
  )
dreamRs/topogRam documentation built on Dec. 16, 2021, 6:47 p.m.