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 - 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…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
-
-
(Locked)
Setting up JavaFX5m 38s
-
(Locked)
Formatting data for a scatterplot7m 55s
-
(Locked)
Displaying a scatterplot5m 22s
-
(Locked)
Multiple datasets on a scatterplot6m 35s
-
(Locked)
Calculating average MPG4m 46s
-
(Locked)
Displaying a bar chart4m 17s
-
(Locked)
Challenge: Displaying data on a bar chart1m 15s
-
(Locked)
Solution: Displaying data on a bar chart4m 8s
-
(Locked)
-
-
-