Pie and Donut Chart Evaluation
This project was used in a study that used the Mechanical Turk platform to test a series of pie chart variations.
The study is built on the excellent Experimentr.js project.
The collected data files are in the
analysis directory, together with some scripts and the R code to create the figures in the paper.
pie-variations-data.json: the original data as collected during the study, in JSON format
pie-variations-reshaped-unique.csv: trial data in CSV format, with incomplete trials removed
pie-variations-demographics.csv: demographics data in CSV format
predictions.csv: predicted values for the different charts based on area and arc length, for all angles in half-degree steps
pie-variations-enriched.csv: same as
pie-variations-reshaped-unique.csvbut with additional columns for predicted values based on arc length and area
enrich.py: creates the
predictions.csvfile and adds predictions to the trials data to create
cleanup.py: parses the original JSON data and reshapes the data into one row per trial, generates
variationviolins.R: R code to do analysis and generate the figures in the paper
Running The Study
To start the Redis server, run the following command from the project directory:
The Node server works on port 80, so it needs root access, and the project is set to use Forever.js to ensure it keeps running:
forever start app.js
Once you have the project running, you can visit localhost in your browser to see the survey.