Parallel coordinates

Parallel coordinates is a common way to visualize multi-dimensional data. It is similar in principle to Andrews curve. The idea behind parallel coordinates is very simple. Each attribute is represented as a vertical line. These vertical lines are uniformly spaced. A data point is then constructed by connecting the values on the vertical lines that correspond to values of that attribute by line segments. Again, an example is helpful to illustrate how it works:

import org.jfree.chart._ import org.jfree.data.xy._ import scala.math._ import scala.collection.mutable.{MutableList, Map} import java.io.{FileReader, BufferedReader} object ParallelCoordinates { def readCSVFile(filename: String): Map[String, MutableList[String]] = { ... ...

Get Scientific Computing with Scala now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.