Site icon R-bloggers

What $480M of Gross Revenue Looks Like to Groupon

[This article was first published on Paul Butler » R, and kindly contributed to R-bloggers]. (You can report issue about the content on this page here)
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.

On Saturday, the Wall St. Journal posted details of an internal Groupon memo that reported $760 million in revenue last year.

The WSJ article came just as I was finishing up a visualization of some data I had collected on Groupon deals, which gives perspective on that massive number in terms of the individual deals.

Each box is a deal. I used height to represent number sold, and width to represent the price. Area is therefore gross revenue, and colour is city for the top 20 cities.

(Click for a larger, interactive version. Only works in browsers that support SVG, i.e. not IE)

The 2D-bin-packing was implemented in R and C++, based on code by mackstann. Thanks to my friends Eric and Lisa for feedback on a draft of the visualization.

To leave a comment for the author, please follow the link and comment on their blog: Paul Butler » R.

R-bloggers.com offers daily e-mail updates about R news and tutorials about learning R and many other topics. Click here if you're looking to post or find an R/data-science job.
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.