From the course: Data Science for Java Developers

Unlock this course with a free trial

Join today to access over 22,600 courses taught by industry experts.

Formatting data for a scatterplot

Formatting data for a scatterplot - Java Tutorial

From the course: Data Science for Java Developers

Formatting data for a scatterplot

- [Instructor] Okay, so now that we have our project set up to allow us to run JavaFX programs, the next thing we're going to do is we're going to actually build our scatter plot. So what we're going to be doing basically is we're going to be taking the data from inside our auto miles per gallon folder here, and we're going to be displaying this data on a scatter plot. Namely, what we're going to be doing is we're going to be selecting like two different attributes, say miles per gallon and weight, for example, and we're going to be basically displaying those on a scatter plot to see if we can visually recognize any patterns. Because right now, unless you're some sort of superhuman, chances are you can't really see any relationships between all of these numbers just by scrolling through and taking a look at it. You might be, if you had a few hours, you might be able to start recognizing some patterns, but generally…

Contents