News for hackers. Stuff that matters.
Re:Don't use Scatterplots by rjdagost on Saturday May 26, 2012 @10:47AM (#4027381)
I've never seen a data visualization tool that is universally applicable, so a simple edict like "don't use scatterplots" is a bit too simple. This hexagonal plot looks cool for the problem under question but there are obvious cases where it would be unnecessarily complicated and less informative that a scatter plot. There's a reason why all of the various plot types were invented.
Re:Don't use Scatterplots by yummyfajitas on Saturday May 26, 2012 @10:49AM (#4027391)
Under what circumstance do you believe a scatterplot is superior to a density plot?
Re:Don't use Scatterplots by perlgeek on Saturday May 26, 2012 @12:04PM (#4027572)
Scatterplots are the tools of choice for displaying time-dependent data that doesn't necessarily makes a smooth curve. Often you only have one value per time stamp, so overlap is not a problem.

In fact, the wikipedia article even says "A scatter plot is used when a variable exists that is under the control of the experimenter". https://en.wikipedia.org/wiki/Scatter_plot

If the author had read that part of the wikipedia article, I guess his claim would have been more specific :-)

Re:Don't use Scatterplots by yummyfajitas on Saturday May 26, 2012 @12:09PM (#4027590)
I guess you are right, graphing y=f(x) by plotting points does meet the definition of a scatterplot. Go ahead and use it for those cases.
Re:Don't use Scatterplots by twstws on Saturday May 26, 2012 @10:56AM (#4027402)
If your data can be displayed without points overlapping, a scatterplot can display all the information, while a density plot will always display only a summary of the data. The larger your grid size, the greater the loss of information.
Re:Don't use Scatterplots by mturmon on Saturday May 26, 2012 @03:22PM (#4028097)
And, by adding noise ("jitter" or "dither") to each point, you can still use a plain scatterplot even for many kinds of overlapping data.

It's simple to do and mimics reversing the effect of truncation of the data (at least for continuous quantities). Just use uniformly distributed values that are as wide as one bin width.

For most purposes, I prefer adding dither, and then using transparency, to moving to a density plot, for exactly the reason you mention -- the density plot introduces another parameter, the smoothing method, which puts another layer between you and the data.

Re:Don't use Scatterplots by haberman on Saturday May 26, 2012 @11:47AM (#4027525)
Yes, if the data was sparse enough that it could be plotted without overlap and the graph carried an annotation saying so, I could see a scatter plot being better.
Re:Don't use Scatterplots by ced on Saturday May 26, 2012 @02:13PM (#4027932)
With less than 20 non-overlapping points on the graph, I doubt that I would want to use anything else.

Furthermore, if my data has two outliers that are near each other, they may well be indistinguishable in the hexplot from one (or five) clustered outliers.

Your post was very interesting and your examples are great. I'll definitely use hexplots in the future. But I will still default to scatterplots. It's just easier to see if there's something wrong with the data, and they require less interpretation.

Re:Don't use Scatterplots by rjdagost on Saturday May 26, 2012 @11:06AM (#4027431)
Lots... imagine plotting y = f(x) for several different data series on the same axes. A density plot for all the different data series would be really crowded, whereas a scatter plot could (not necessarily would) better show the differences between the series
Re:Don't use Scatterplots by toemetoch on Saturday May 26, 2012 @02:45PM (#4028004)
A density plot would never have revealed the discrete grouping along the x-axis due to rounding. The density plot hides it, but if he started from density plots this might have gotten him into trouble (for example if he would group them in [starttime,stoptime[ partitions it would skew results) .
Re:Don't use Scatterplots by tmoertel on Sunday May 27, 2012 @07:10PM (#4031306)
A scatterplot will be superior whenever you want to see all your data (and not smooth some of it away).
Re:Don't use Scatterplots by keithpeter on Saturday May 26, 2012 @05:32PM (#4028439)
Small number of points, high variability, accurate numbers.