Introduction Graphing is one of the most effective ways to display datasets, financial scenarios, and statistical functions in a…