Data visualization is a branch of data science that visually represents the data and information collected, thus transforming raw data…