Summarize categorical data for two categories in two-way frequency tables and represent using segmented bar graphs.