Can the groups of unrealistically happy and chronically dissatisfied users be identified? A Yelp dataset study. Part II

In the first part of this series I started the analysis on a interesting dataset drawn from a sample of the users from the crowd-source review service Yelp. This post presents the second part of the analysis.
Continue reading “Can the groups of unrealistically happy and chronically dissatisfied users be identified? A Yelp dataset study. Part II”

Can the groups of unrealistically happy and chronically dissatisfied users be identified? A Yelp dataset study. Part I

The famous crowd-source review company Yelp makes available a large collection of data known as the
Yelp Dataset Challenge.
This series of posts explores the dataset and raises a data-driven question and subsequent analysis.

Continue reading “Can the groups of unrealistically happy and chronically dissatisfied users be identified? A Yelp dataset study. Part I”

Circular plots in R for visualizing migration flows

In his webpage, Guy Abel presents the R library migest. This library allows for the creation of beautiful circular migration plots. As the creator of the library explains:

The basic idea of the plot is to show simultaneously the relative size of estimated flows between regions. The origins and destinations of migrants are represented by the circle’s segments, where nearby regions are positioned close to each other. The size of the estimated flow is indicated by the width of the link at its bases and can be read using the tick marks (in millions) on the outside of the circle’s segments. The direction of the flow is encoded both by the origin colour and by the gap between link and circle segment at the destination.

As an example of such plots is the following one depicting migration flow between continents.

rplot

Migest relies on the package circlize. Looking at the documentation of circlize similar kind of graphics can be found, however they are not as beautiful and ploshed as the ones produced by migest.

I can definitely see many interesting applications to this kind of plots, as are evident in the many examples found scattered through the internet. Beyond depicting migration, this type of chart might be a valuable and beautiful tool to visualize any kind of flow between entities.