library(dplyr)
## 
## Attaching package: 'dplyr'
## The following objects are masked from 'package:stats':
## 
##     filter, lag
## The following objects are masked from 'package:base':
## 
##     intersect, setdiff, setequal, union
library(tidyverse)
## -- Attaching packages --------------------------------------- tidyverse 1.3.1 --
## v ggplot2 3.3.5     v purrr   0.3.4
## v tibble  3.1.2     v stringr 1.4.0
## v tidyr   1.1.3     v forcats 0.5.1
## v readr   1.4.0
## Warning: package 'ggplot2' was built under R version 4.1.3
## -- Conflicts ------------------------------------------ tidyverse_conflicts() --
## x dplyr::filter() masks stats::filter()
## x dplyr::lag()    masks stats::lag()
library(ggplot2)
TOC <- read.csv("C:/Users/P_Ath/Desktop/DATA 110/Total___of_classes (1) (1).csv")
names(TOC)
## [1] "Department"         "Major"              "Degree"            
## [4] "Course.Title"       "School"             "Cost"              
## [7] "Course.Description"
table(TOC$Major)
## 
##                                            Accounting (Business) 
##                                                              187 
##                                            Aerospace Engineering 
##                                                                4 
##                                         African-American Studies 
##                                                                5 
##                                             Agricultural General 
##                                                                2 
##                                                 American Studies 
##                                                                1 
##                      Animal Sciences: Animal Care and Management 
##                                                                5 
##                                                     Architecture 
##                                                                7 
##                                                    Art Education 
##                                                                5 
##                                                      Art History 
##                                                                3 
##                                                   Bioengineering 
##                                                                1 
##                   Biological Sciences: Cell Biology and Genetics 
##                                                                1 
##                       Biological Sciences: Ecology and Evolution 
##                                                                5 
##                             Biological Sciences: General Biology 
##                                                                6 
##                                            Business/Admin./Mgmt. 
##                                                              402 
##                   Central European, Russian and Eurasian Studies 
##                                                                2 
##                              Civil and Environmental Engineering 
##                                                               23 
##                                                    Communication 
##                                                               18 
##                                                 Community Health 
##                                                                6 
##                                             Computer Engineering 
##                                                               15 
##                                                 Computer Science 
##                                                               81 
##                                      Computer Systems Management 
##                                                               40 
##                     Conservation of Soil, Water, and Environment 
##                                                                4 
##                                                 Criminal Justice 
##                                                              400 
##                                 Criminology and Criminal Justice 
##                                                               43 
##                                        Early Childhood Education 
##                                                                9 
##                                       Early Childhood Education  
##                                                                3 
##                                    Education (Teacher:Undecided) 
##                                                               12 
##                                           Electrical Engineering 
##                                                                2 
##                                             Emergency Management 
##                                                              103 
##                                         Engineering (Undecided)  
##                                                                6 
##                                  English Language and Literature 
##                                                               10 
##                        Environmental Science and Policy (Policy) 
##                                                                2 
##                       Environmental Science and Policy (Science) 
##                                                               18 
##                   Environmental, Educational and Park Management 
##                                                               13 
##                                                   Family Studies 
##                                                                6 
##                                               Finance (Business) 
##                                                               27 
##                                      Fire Protection Engineering 
##                                                               36 
##                                                     Fire Science 
##                                                              126 
##                                       Foreign Language Education 
##                                                                8 
##                                                 Forensic Science 
##                                                               18 
##                                   French Language and Literature 
##                                                                2 
##                                  General Business and Management 
##                                                                5 
##                                                  General Studies 
##                                                               87 
##                                                        Geography 
##                                                               10 
##                                          Government and Politics 
##                                                               13 
##                                          Health & Human Services 
##                                                              148 
##                                                          History 
##                                                               42 
##                                                  Human Resources 
##                                                               80 
##                                                             HVAC 
##                                                               18 
##                                               Individual Studies 
##                                                                4 
##                                     Information Systems-Business 
##                                                               14 
##                                           Information Technology 
##                                                               89 
##                                           International Business 
##                                                                1 
##                                                      Job Related 
##                                                               41 
##                                          Kinesiological Sciences 
##                                                                3 
##                                                              Law 
##                                                               57 
##                                        Liberal Arts/Gen. Studies 
##                                                                4 
##                                                      Linguistics 
##                                                                6 
## Logistics, Transportation and Supply Chain Management (Business) 
##                                                               10 
##                                             Marketing (Business) 
##                                                                4 
##                                            Marketing (Business)  
##                                                                2 
##                                                      Mathematics 
##                                                                6 
##                                           Mechanical Engineering 
##                                                                8 
##                                                             None 
##                                                              457 
##                                                       Not Listed 
##                                                              238 
##                                                    Not Specified 
##                                                               34 
##                                                          Nursing 
##                                                              135 
##                                             Nutritional Sciences 
##                                                               18 
##                                 Operations Management (Business) 
##                                                                6 
##                                                      Other/Misc. 
##                                                              270 
##                                                Paralegal Studies 
##                                                               39 
##                                               Physical Education 
##                                                                2 
##                                                Political Science 
##                                                               15 
##                                           Pre-Medical Technology 
##                                                                4 
##                                                      Pre-Nursing 
##                                                                9 
##                                           Professional/Technical 
##                                                               15 
##                                                       Psychology 
##                                                              114 
##                                            Public Administration 
##                                                              110 
##                                                    Public Safety 
##                                                               92 
##                                                Romance Languages 
##                                                                2 
##                                  Russian Language and Literature 
##                                                                2 
##                                                Science Education 
##                                                                8 
##                                         Social Studies Education 
##                                                                1 
##                                                      Social Work 
##                                                               97 
##                                                        Sociology 
##                                                               21 
##                                  Spanish Language and Literature 
##                                                               15 
##                                 Undecided (Letters and Sciences) 
##                                                                1 
##                                                   Urban Forestry 
##                                                                1 
##                                                  Women's Studies 
##                                                                3
head(TOC)
##                Department                 Major                   Degree
## 1                  Police Business/Admin./Mgmt.                       AA
## 2                  Police Business/Admin./Mgmt.                       AA
## 3                  Police Business/Admin./Mgmt.                       AA
## 4 Health & Human Services Business/Admin./Mgmt. Masters (MA/MS/MPH/etc.)
## 5 Health & Human Services           Other/Misc. Masters (MA/MS/MPH/etc.)
## 6                 Finance Accounting (Business) Masters (MA/MS/MPH/etc.)
##                                 Course.Title
## 1                   INTRODUCTION TO BUSINESS
## 2                                     MA 160
## 3                    INTRO TO AMERICAN MUSIC
## 4                     PUBLIC POLICY ANALYSIS
## 5 MHA 500 CONTEMPORARY ISSUES IN HEALTH CARE
## 6               ACCT FINANCIAL MGMT CAPSTONE
##                                        School Cost
## 1         Montgomery College Rockville Campus  392
## 2         Montgomery College Rockville Campus  392
## 3         Montgomery College Rockville Campus  392
## 4                      BOWIE STATE UNIVERSITY 1062
## 5                  Mount St Mary's University 1569
## 6 University of Maryland - University College  870
##                                                                                                                                                                                                                                                  Course.Description
## 1                                                          An introductory course designed to survey the field of business and its environment in order to give the student a broad overview of the principles, practices, institutions, and functions of business.
## 2   A general calculus course primarily for business students. Topics include algebraic, exponential, and logarithmic functions and their graphs; an intuitive approach to limits; differentiation; integration; and functions of several variables. Major emphasis
## 3                                                                                                                                               A survey of American popular music from the turn of the 20th century to the present with an emphasis on rock music.
## 4   Focus is on the analysis of costs and benefits in the selection of the public policy choices. Students analyze public policy alternatives, factors, and process involved in policy development, including the rulemaking that occurs after legislative enactmen
## 5 The historical, current, and future organization and delivery of \nthe United States health care system is studied. Concepts and \napplications of the system are explored as well as comparisons with international health care paradigms. Introduction to the s
## 6   A synthesis of material from all previous study in financial management and information systems that reflects the importance of information systems in modern organizations and the role of the CFO/CIO in managing this resource to maximize value. Simulation
pl <- ggplot(TOC,aes(x=Cost))
pl + geom_histogram(binwidth=10,color='red',fill='pink')

My dataset is from the Data Montgomery website. It is a dataset that is documenting the list of classes that is approved and paid through the county tuition, the assistance program, which includes the title and the description of each course, the school, the course that will be taken at, the degree the class curriculum is part of, the department and title of the requestor, and the cost that will be reimbursed to the employee. This dataset has a total of six categorical variables, which are known as Department, Major, Degree, Course Title, School, and Course Description. There is only one quantitative variable and that is Cost.This dataset has about 4,028 rows and 7 columns. In the histogram I posted, that shows the cost of all types of colleges in Maryland. In “The 2022 DIRECTORY OF MARYLAND COLLEGES AND PRICES”, it mainly talks about the average annual in-state college tution in Maryland.

https://www.collegecalc.org/colleges/maryland/