Skip to content

ahaim-cs573/03-experiment

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Assignment 3 - Replicating a Classic Experiment

Ashish Gurung
Aaron Haim
Stephanie Strom

Experiment Description

experimentUI

For our experiment, we compared bar charts, pie charts, and line charts. We added the additional experimental condition of comparing static charts to charts that transition upon opening. Each survey consisted of 24 trials, each of the six chart types appeared four times in random order. Each chart was a visualization of 10 random data points. For the transitioning charts, the charts first appear with all data points as equal and then transition to their random value. We thought this was an interesting question to see if there was any difference in accuracy with a transition on opening. Pictured below are screenshots of the six different charts.

Bar Chart

bar chart

Pie Chart

pie chart

Line Chart

line chart

Bar Chart with Transition

bar chart with transition

Pie Chart with Transition

pie chart with transition

Line Chart with Transition

line chart with transition

Experiment Results

Here are the Hypothesis we wanted to test:

  • Does line chart facilitate the interpretation of data more effectively than bar and pie charts?
  • Does the use of animation improve the user performance while interpreting data?

Ranking the Charts

line chart

From our dataset, we were able to observe something rather interesting, the average error (|judged percent - true percent|) was lower on the bar condition than the bar with animation condition. However, when we calculated the log base 2 of the error using the formula that Cleveland and McGill used in their original experiment to measure accuracy. The bar with Animation had a higher accuracy than the bar condition. This was an interesting finding that could indicate how accuracy is sensitive to readings that are closer to 0.

Finally, we analyzed the charts using bootstrapped 95% confidence intervals, and the chart from the analysis is below: Aalysis

Analyzing the chart shows that the users' performance increased with the animate condition for the line and bar chart but regressed in the pie chart condition. So it can enhance performance for charts where the users already perform at a higher level. Analyzing line vs. line with animation is indicative of improving performance, but the difference is not significant. In this experiment's context, the static line chart is not a good alternative to bar charts. However, if we must utilize line charts for some reason, then animating them will make users' performance using the bar, bar with animation and line with animation comparable. The chart also indicates that although there isn't a significant difference between line, pie, and pie with animation, animation makes line chart significantly better than pie charts and pie charts with animations.

Technical Achievements

  • Database Connection: We deployed our experiment online and it can be accessed through the following link. Link to the experiment The webpage is hosted on a server at WPI. We are using Spring, the pages are hosted using JSP, the API is RESTful and the data is stored ina Postgres DB.
  • No Redundancy: The data collection stored the comparison values on the points as to limit the amount of redundant data. It also made it easier to calculate the size percentage between the two selected points.

Design Achievements

  • Transitions: We used transitions on the bar, pie, and line charts as a unique condition to test. This also provided a coding challenge in d3.
  • Simplistic UI: The UI followed the simplistic design principles as to not influence the users in any fashion and pull away from the experiement. Only key requirements were highlighted for user understanding.

References

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 46.5%
  • JavaScript 40.8%
  • R 8.2%
  • Python 4.1%
  • CSS 0.4%