Click on a thumbnail image or bar to show the book details.
The chart above shows the 30 most often linked products in Hacker News comments, which all happen to be books. Topics range from software development, design, business, economy, psychology to politics with the most often linked book, The Rent Is Too Damn High, being about high rents in the US and its implications on the American society.
Programming and technology seem to be the most dominant topics, but discussions in the Hacker News community are more diverse than the name suggests, which won't surprise its participants.
This visualization is based on a dataset of 8,399,417 comments posted on Hacker News from October 2006 to October 2015. I ran a query on the Google BigQuery table to search for comments that contain links to www.amazon.* resulting in a dataset of 15,583 records.
I then extracted links to Amazon product, product review and product offer pages based on the existence of an Amazon Standard Identification Number (ASIN) in the URL. Overall I found 10,729 different ASINs and ranked them by the number of links containing them. The book details were obtained via the Amazon Product Advertising API or from the product page.
Amazon is often the goto website for referring books, but many books have dedicated homepages as well as pages pages on their publisher's website. Moreover, many freely available books are referred frequently in comments, but are not considered in this ranking.
The counts are raw unweighted link counts, so a link in a comment with many upvotes counts the same as a link without upvotes. Also linking a book is not necessarily an endorsement to go buy and read it.
Despite the mentioned restrictions, I think this list contains books that are well worth reading, if you want to learn something about the respective topic. Several of them, such as JavaScript: The Good Parts, Don't Make Me Think or Code Complete be considered classics in their fields.
Moreover, I think this small sample gives a fairly good impression about the main topics that drive the Hacker News community.
What books get recommended is just one of many questions that you can dig into by exploring Hacker News comments. In a similar manner you could look at the most often linked GitHub projects or StackOverflow questions and answers.
Apart from what gets referred to outside of Hacker News you can also explore internal aspects such as user interactions via comment replies, text analysis or topic detection. There is a lot to discover in this data.
The Hacker News data was obtained from the official Hacker News API with the help of Jenny Tong and the Firebase team and published on Google BigQuery by Felipe Hoffa. The data was processed with Python and various libraries and the visualization created with D3.js.
External links to Amazon on this page contain affiliate IDs, which means that I earn a comission if you make a purchase using these links. For me this is the least obstrusive way to make this website sustainable and offer hopefully valuable content for free.
Published January 17, 2016 by Ramiro Gómez.