Data visualization is a graphical representation of data which can be used to identify the patterns,outliers…