Chapter 8. Scientific Plotting with Scala
Plotting is often the most convenient and quickest way of analyzing data. Visualizing your data can give you all sorts of insights into what you are dealing with. Common plots, such as histograms, scatter plots, bar plots, and box-and-whisker plots, are often invaluable tools for exploratory statistical analysis.
In this chapter, we will explore several options for dealing with plotting in Scala. We will see how to do the most basic plots with all of them. There are many popular libraries for plotting. Examples include matplotlib, seaborn for Python, and ggplot2 for the R programming language. There aren't as many options for Scala as there are for languages that have been around longer. Those that are available are not as powerful as the ones we mentioned, but they certainly are solid options to get you started. We will look at several good ones you can use.
First of all, there is the JFreeChart library for Java. This is not Scala-specific, and this...