Articles by aschinchon

Hypnotical Fermat

December 1, 2015 | 0 Comments

Se le nota en la voz, por dentro es de colores (Si te vas, Extremoduro) This is a gif generated with 25 plots of the Fermat’s spiral, a parabolic curve generated through the next expression: where is the radius, is the polar angle and is simply a compress constant. Fermat ...
[Read more...]

Polar Circles

November 16, 2015 | 0 Comments

You cannot find peace by avoiding life (Virginia Woolf) Combining polar coordinates, RColorBrewer palettes, ggplot2 and a simple trigonometric function to define the width of the tiles is easy to produce nice circular plots like these: Do you want to try? Here you have the code:
[Read more...]

The Batman’s Ecosystem

November 3, 2015 | 0 Comments

If I weren’t crazy, I’d be insane! (Joker) I present today a dynamical D3.js plot where I combine three things: The Batman curve A text mining analysis to obtain most common words from the Batman’s page at Wikipedia A line plot using morris.js library of ...
[Read more...]

Visualising The Evolution Of Migration Flows With rCharts

October 19, 2015 | 0 Comments

Heaven we hope is just up the road (Atlas, Coldplay) Following with the analysis of migration flows, I have done next two visualizations. These charts are called bump charts and are very suitable to represent rankings. This is what I have done: Obtaining top 20 countries of the world according to % ...
[Read more...]

A Visualization Of The 100 Greatest Love Songs ft. D3.js

October 12, 2015 | 0 Comments

What would you do? If my heart was torn in two (More Than Words, Extreme) Playing with rCharts package I had the idea of representing the list of 100 best love songs as a connected set of points which forms a heart. Songs can be seen putting mouse cursor over each ...
[Read more...]

A Segmentation Of The World According To Migration Flows ft. Leaflet

September 29, 2015 | 0 Comments

Up in the sky you just feel fine, there is no running out of time and you never cross a line (Up In The Sky, 77 Bombay Street) In this post I analyze two datasets from Enigma: Migration flows: Every 10 years, since 1960, the World Bank estimates migrations worldwide (267.960 rows) World population: ...
[Read more...]

A Simple Interactive Map Of US Prisons With Leaflet

September 8, 2015 | 0 Comments

The love of one’s country is a splendid thing. But why should love stop at the border? (Pablo Casals, Spanish cellist) Some time ago, I discovered Enigma, an amazing open platform that unifies billions of records from thousands of government sources to make the world of public data universally ...
[Read more...]

The World We Live In #5: Calories And Kilograms

August 19, 2015 | 0 Comments

I enjoy doing new tunes; it gives me a little bit to perk up, to pay a little bit more attention (Earl Scruggs, American musician) I recently finished reading The Signal and the Noise, a book by Nate Silver, creator of the also famous FiveThirtyEight blog. The book is a ...
[Read more...]

Going Bananas #2: A Needle In A Haystack

August 3, 2015 | 0 Comments

Now I’m gonna tell my momma that I’m a traveller, I’m gonna follow the sun (The Sun, Parov Stelar) Inspired by this book I read recently, I decided to do this experiment. The idea is comparing how easy is to find sequences of numbers inside Pi, e, ...
[Read more...]

The Moon And The Sun

July 8, 2015 | 0 Comments

Do not swear by the moon, for she changes constantly. Then your love would also change (William Shakespeare, Romeo and Juliet) The sun is a big point ant the moon is a cardioid: Here you have the code. It is a simple example of how to use ggplot:
[Read more...]

Trigonometric Pattern Design

July 1, 2015 | 0 Comments

Triangles are my favorite shape, three points where two lines meet (Tessellate, Alt-J) Inspired by recurrence plots and by the Gauss error function, I have done the following plots. The first one represents the recurrence plot of where distance between points is measured by Gauss error function: This one is ...
[Read more...]

The 2D-Harmonograph In Shiny

June 23, 2015 | 0 Comments

If you wish to make an apple pie from scratch, you must first invent the universe (Carl Sagan) I like Shiny and I can’t stop converting into apps some of my previous experiments: today is the turn of the harmonograph. This is a simple application since you only can ...
[Read more...]

Shiny Wool Skeins

June 15, 2015 | 0 Comments

Chaos is not a pit: chaos is a ladder (Littlefinger in Game of Thrones) Some time ago I wrote this post to show how my colleague Vu Anh translated into Shiny one of my experiments, opening my eyes to an amazing new world. I am very proud to present you ...
[Read more...]

Simple Data Science To Maximize Return On Lottery Investment

June 1, 2015 | 0 Comments

Every finite game has an equilibrium point (John Nash, Non-Cooperative Games, 1950) I read recently this amazing book, where I discovered that we (humans) are not capable of generating random sequences of numbers by ourselves when we play lottery. John Haigh demonstrates this fact analyzing a sample of 282 raffles of 6/49 UK ...
[Read more...]

Bertrand or (The Importance of Defining Problems Properly)

May 13, 2015 | 0 Comments

We better keep an eye on this one: she is tricky (Michael Banks, talking about Mary Poppins) Professor Bertrand teaches Simulation and someday, ask his students: Given a circumference, what is the probability that a chord chosen at random is longer than a side of the equilateral triangle inscribed in ...
[Read more...]

Odd Connections Inside The NASDAQ-100

May 8, 2015 | 0 Comments

Distinguishing the signal from the noise requires both scientific knowledge and self-knowledge (Nate Silver, author of The Signal and the Noise) Analyzing the evolution of NASDAQ-100 stock prices can discover some interesting couples of companies which share a strong common trend despite of belonging to very different sectors. The NASDAQ-100 ...
[Read more...]

Analysing The Rock ‘n’ Roll Madrid Marathon

April 18, 2015 | 0 Comments

Nobody’s going to win all the time. On the highway of life you can’t always be in the fast lane (Haruki Murakami, What I Talk About When I Talk About Running) I started running two years ago and one if my dreams is to run a marathon someday. ...
[Read more...]

Discovering Shiny

April 8, 2015 | 0 Comments

It is not an experiment if you know it is going to work (Jeff Bezos) From time to time, I discover some of my experiments translated into Shiny Apps, like this one. Some days ago, I discovered one of these translations and I contacted the author, who was a guy ...
[Read more...]

NASDAQ 100 Couples

March 25, 2015 | 0 Comments

Heaven, I’m in heaven, and my heart beats so that I can hardly speak, and I seem to find the happiness I seek, when we’re out together dancing cheek to cheek (Cheek To Cheek, Irving Berlin) There are about 6.500 available packages in CRAN repository. If I were a ...
[Read more...]

The World We Live In #4: Marriage Ages

March 16, 2015 | 0 Comments

It is time for women to stop being politely angry (Leymah Gbowee, Nobel Prize Peace Winner) Sometimes very simple plots give insight into we live in a world of differences. This plot shows the mean age at marriage for men and women across countries: Being a woman in some countries ...
[Read more...]
1 2 3 4 5

Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)