First Steps
We will take the first steps for drawing a scatter plot.
We'll cover the following...
We are finally going to start drawing some graphs. The foundation has been laid for D3. We can take some of the knowledge we have learned so far to begin drawing advanced graphs. The first graph we will be drawing is a scatter plot. Let’s review what a scatter plot is.
What is a scatter plot?
A scatter plot is a type of chart for showing the relationship between two sets of data. They are a great way of viewing a correlation if there is any. Another benefit of a scatter plot is being able to view large amounts of data.
Here is an example of a scatter plot. Scatter plots have two axes. A dot is drawn to represent two values. In some cases, the size of the dot can be another way of representing data, but that is not too common. In this example, we are looking at the relationship between a tree’s height and its diameter.
The goal of a chart is to answer a question. In this case, we may ask ourselves, is there a relationship between the height of a tree and its diameter? According to this chart, there is. The taller a tree, the larger its diameter. This chart makes it clear.
Other ...