How Do We Draw a Line?
In this experiment I explore the Google Quick Draw dataset. In its Github website you can see a detailed description of the data. Briefly, it contains around 50 million of drawings of people around the world in
.ndjson format. In this experiment, I used the simplified version of drawings where:
- strokes are simplified and resampled with a 1 pixel spacing
- drawings are also aligned to top-left corner and scaled to have a maximum value of 255
Th goal of the experiment is to understand how do we draw lines: horizontally? toward right o left? vertically? toward up or down? We will also check if there are differences among countries.
- How do you draw a circle? by Quartz, an amazing analysis which shows how cultural circumstances strongly determine the way in which we draw circles.
- City Street Orientations around the World by Geoff Boeing, an awesome analysis and data visualization which gave me the idea of doing polar graphs to show my results.
You will need to install the following packages (if you don't have them already):
install.packages("data.table") install.packages("plyr") install.packages("dplyr") install.packages("rjson") install.packages("ggplot2") install.packages("purrr") install.packages("broom") install.packages("ISOcodes") install.packages("xkcd")
- After cloning the repo, download
line.ndjsondataset from here and place it on the a folder called
datainside your project folder in R.
- To use
xkdcfonts follow this instructions
A complete explanation of the experiment can be found at fronkonstin
- Antonio Sánchez Chinchón - @aschinchon