Difference between revisions of "Data visualization"

Jump to: navigation, search
Line 20: Line 20:


=== Data Visualization in R ===
=== Data Visualization in R ===
R has many options for data visualization; the ggplot package is one of the best. Here is a list of [http://r-statistics.co/Top50-Ggplot2-Visualizations-MasterList-R-Code.html|50 ggplot2 visualizations with full R code] .  
R has many options for data visualization. Here are some useful packages:
 
* ggplot2: this is the go-to package for static plots. Here is a list of [http://r-statistics.co/Top50-Ggplot2-Visualizations-MasterList-R-Code.html||50 ggplot2 visualizations with full R code].
* [https://plot.ly/r/|| plotly]: creates interactive graphs, and is integrated with ggplot.
* [https://github.com/thomasp85/gganimate|| gganimate]: allows users to create animated GIFs from ggplot plots.
* [http://jkunst.com/highcharter|| Highcharter]: this package is a wrapper for the Highcharts JavaScript library.
* [https://rstudio.github.io/leaflet/|| Leaflet]:  an R wrapper  to one of the most popular open-source libraries for interactive maps.
* [https://rstudio.github.io/r2d3/|| R2D3]: a wrapper for JavaScript's D3 library, that creates animated graphs.


== Back to Parent ==
== Back to Parent ==

Revision as of 16:49, 2 December 2018

Data visualization is creating a visual representation of your data, for example in the form of a chart or a graph. Choosing the right format to visualize your data is critical to effectively communicating the results of your study. Good visualizations can be more memorable and persuasive than pure text.


Read First

Specific code for data visualization is available on the software-specific tools (e.g. iegraph). This page discusses general principles for data visualization.

Guidelines

What type of data visualization should I use?

The best format for data visualization will depend on the type of data and results you wish to display, as well as the medium in which they will be displayed. For example, online interfaces allow for more dynamic visualizations than printed articles.

Stata Visual Library

The DIME Analytics team has created a Visual Library for Impact Evaluation which shows examples of graphs and provides the codes used to create them. You can contribute to the library our github.

Data Visualization in R

R has many options for data visualization. Here are some useful packages:

  • ggplot2: this is the go-to package for static plots. Here is a list of ggplot2 visualizations with full R code.
  • plotly: creates interactive graphs, and is integrated with ggplot.
  • gganimate: allows users to create animated GIFs from ggplot plots.
  • Highcharter: this package is a wrapper for the Highcharts JavaScript library.
  • Leaflet: an R wrapper to one of the most popular open-source libraries for interactive maps.
  • R2D3: a wrapper for JavaScript's D3 library, that creates animated graphs.

Back to Parent

This article is part of the topic Data Analysis


Additional Resources