daattali / daattali/ggExtra

Add support for dotplots

Open
#29 1 comment 0 reactions 0 assignees View on GitHub
enhancement help wanted
Dominant language
R
Stars
393
Forks
47
PR merge metrics
No merged PRs in 30d

Description

There was a [blog post](http://motioninsocial.com/tufte/) showing how to do many Tufte-style plots in R. The author included `ggMarginal` but noted that it cannot be used to make dotplots eg

![](http://i.imgur.com/GfwTtIz.png)

I suppose it could be a nice extra feature to support those kind of plots as well, even though they're very very similar to histograms. I looked into it very briefly and unfortunately the `ggplot2::geom_dotplot()` doesn't seem to work because when there are many observations the dots go off the screen. There might be a way to somehow dynamically decide how big to make the dots. There can also be other solutions (perhaps useful resource: http://lenkiefer.com/2016/04/06/dot-plots-and-distributions)

If anybody wants to tackle this, feel free to make a PR!

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.