Data visualization is becoming increasingly popular in the data science community because it is the visual communication of information using the underlying data with the help of dots, lines, or bars. Visualization not only communicates information to the data scientist, but also presents it to an audience with no or little knowledge of the underlying data distribution or the nature of the data. On many occasions, data visualization is used by management, stakeholders, and business executives to make decisions or to understand trends.
In this chapter, we present seven recipes to visualize data using sine graphs, histograms, bar charts, box plots, scatter plots, donut or pie plots, and area graphs. This being a cookbook, we do not give enough background on these plots, their advantages, and the area of usage except a very short introduction on them. Rather, we focus on the technicalities of the Java library that can accomplish the visualizations.
In this chapter, we will be using...