class: center, top, title-slide .title[ # Webinar 1 ] .subtitle[ ## Data Visualization ] .author[ ### Rogers Ochenge ] .date[ ### November 30, 2022
Updated: Nov 30, 2022 ] --- # Course Goals * Develop intermediate data management and visualization skills in R -- * Learn basic programming -- # Univariate Graphs ## Categorical variables -- + The distribution of a single categorical variable is typically plotted with a bar chart, a pie chart, or (less commonly) a tree map. --- # Bar Charts: -- + The Marriage dataset contains the marriage records of 98 individuals in Mobile County, Alabama. Below, a bar chart is used to display the distribution of wedding participants by race. -- ```r library(ggplot2) library(mosaicData) data(Marriage, package = "mosaicData") # plot the distribution of race ggplot(Marriage, aes(x = race)) + geom_bar() ``` <!-- --> -- + I think programming is incredibly important --