From the course: Creating Maps with R

Unlock the full course today

Join today to access over 24,200 courses taught by industry experts.

Challenge: Label a geobubble chart of Germany's biggest cities

Challenge: Label a geobubble chart of Germany's biggest cities

From the course: Creating Maps with R

Challenge: Label a geobubble chart of Germany's biggest cities

(upbeat music) - [Instructor] For this challenge, I would like you to use {ggplot2} to create a geo bubble chart showing the five largest cities in Germany. I'd also like you to use the {ggrepel} package to label both the smallest and largest city. I'd like you to format the legend labels to read 3 million instead of 3 and 6 zeroes following. And I would also like you to set the capital city to gold and all other cities to purple.

Contents