Scratchpad for R visualizations I've found around the web.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
R-visualizations.Rproj
README.md
cycle_plot.R
cycle_plot.png
directlabels.R
directlabels.png
faceted_dot_plot.R
faceted_dot_plot.csv
faceted_dot_plot.png
plot_with_data_table.R
plot_with_data_table.png
quartal_line.R
quartal_line.Rmd
quartal_line.png
quartal_line.xlsx
quartal_line_excel.png
rmarkdown_fancytables.md
rmarkdown_fancytables.png
table_helper.R

README.md

R Visualizations Gallery

This repository is a personal scratchpad that I'm working on that documents how to implement data visualizations in R for problems I've encountered. Where I've based (or simply copied) work done by others I've referenced the original source.

Creating a Plot with a Data Table

Plot with data table

Faceted Dot-plot

Bar and column plots are often abused when the origin is not anchored at zero. Dot-plots are the recommended solution for situations where comparisons need to be made between values but the axis origin needs to begin somewhere other than zero in order to differentiate between close values.

Faceted Dot-plot

Cycle Plot

Time series data with a cyclical component, such as monthly sales or page views, can have a seasonal component. Examples might include a backend-loaded sales forecast or page views that drop on the weekend. Cycle plots can help to display both the trend and compare the variations between sub-periods.

Cycle Plot

Fancy Tables

Ideas on how to make prettier tables in knitr/markdown documents.

Fancy table

Datendesign in R Example

I don't read German but this looks like a great book. I ran one of the examples locally and learned some new tricks about how to import fonts and pull SVG into knitr.

Quartal Line

An quick and crude attempt to mimic in Excel:

Quartal Line Excel