Skip to content

Instantly share code, notes, and snippets.

View josiahdavis's full-sized avatar

Josiah Davis josiahdavis

View GitHub Profile
@josiahdavis
josiahdavis / Readme.md
Last active August 29, 2015 14:14
UFO Sightings: Year
@josiahdavis
josiahdavis / Readme.md
Last active August 29, 2015 14:14
UFO Sightings: Time of Day
@josiahdavis
josiahdavis / Readme.md
Last active August 29, 2015 14:14
UFO Sightings: Time of Year
@josiahdavis
josiahdavis / Readme.md
Last active August 29, 2015 14:15
UFO Sightings: Time of Year II
@josiahdavis
josiahdavis / .DS_Store
Last active September 17, 2015 21:34
Responsive Heatmap
@josiahdavis
josiahdavis / .DS_Store
Last active September 18, 2015 21:56 — forked from mbostock/.block
Correlation Coefficient Force Layout
@josiahdavis
josiahdavis / README.md
Last active September 26, 2015 01:15 — forked from mbostock/.block
Common Machine Learning Algorithms
@josiahdavis
josiahdavis / .DS_Store
Last active September 29, 2015 00:44
A Comparison of Motivation for Attending an Art Performance
@josiahdavis
josiahdavis / Readme.md
Last active October 3, 2015 02:13
How do people feel about Coffee?

Not bad, apparently.

This chart plots the average emtional valence contained within Yelp reviews for coffee shops across 8 emotions, four positive emotions on the right, and four negative emotions on the left. Interestingly, Starbucks seems to provide a less emotionally rich experience than going to other coffee shops. Possibly, this is due to the fact that Starbucks customers dissproportionally dilute their coffee with cream and sugar, and thus dilute their coffee-drinking experience. The greatest joy seems to be coming from the Other category, possibly a testament to the romance often associated with Independent Coffee shops. Apparently, the most anticipated place is Krispy Kreme. It makes sense, people likely eat donuts much less than they drink coffee, so when they go, it's a specical event.

Notes

This chart is built using the the radar-chart-d3 plugin created Alvaro Graves. The emotional valence was estimated using the [syuzhet R package](

@josiahdavis
josiahdavis / .DS_Store
Last active October 3, 2015 22:10
What words do people use to describe their coffee shop experience?