Bar Graphs & Pie Charts

Question 1

library(tidyverse)
## ── Attaching core tidyverse packages ──────────────────────── tidyverse 2.0.0 ──
## ✔ dplyr     1.1.4     ✔ readr     2.1.5
## ✔ forcats   1.0.0     ✔ stringr   1.5.1
## ✔ ggplot2   3.4.4     ✔ tibble    3.2.1
## ✔ lubridate 1.9.3     ✔ tidyr     1.3.0
## ✔ purrr     1.0.2     
## ── Conflicts ────────────────────────────────────────── tidyverse_conflicts() ──
## ✖ dplyr::filter() masks stats::filter()
## ✖ dplyr::lag()    masks stats::lag()
## ℹ Use the conflicted package (<http://conflicted.r-lib.org/>) to force all conflicts to become errors
tribble(
  ~City, ~County, ~State, ~Population,
  
  "Columbia", "Howard", "Maryland", 106600,
  "Houston", "Harris", "Texas", 2288000,
  "Albany", "AlbanyC", "New York", 98617,
  "Anaheim", "Orange", "California", 341035,
  "Chicago", "Cook", "Illionis", 9286795,
  "Phoneix", "Maricopa", "Arizonia", 1682515, 
)-> DataP

Question 2

Question 3

Question 4