Live data from Hacker News

Ask HN: Any good books on graphing/charting/visualization?

news.ycombinator.com

31–40 of 40 posts

Re: Ask HN: Any good books on graphing/charting/visualization?

#31
post #5

Edward Tufte's book The Visual Display of Quantitative Information is a monumental book. He writes not about how to make your graphs look pretty, but how to display vast quantities of data and distill them down into useful graphics that communicate themselves effectively. He provides examples of good and bad graphs, but more importantly, explains what exactly it is that makes those examples good and bad, and further…

The principles of Tufte's that I always come back to are:\

maximize the data/ink ratio - figure out how to show more data with fewer lines, symbols, colors

Clarify by adding data - show the broad trend but allow a viewer to drill down into specific areas of interest

Here is a good example of both points, 2200 data points coherently graphed: http://www.edwardtufte.com/bboard/q-and-a-fetch-msg?msg_id=0...

Re: Ask HN: Any good books on graphing/charting/visualization?

#32
If you're big on visualization check out Harvard's www.CS171.org. I'm enrolled in the class right now and it's been very enriching. I think it is also available as opencourseware.

Books: http://www.cs171.org/syllabus.html

Resources http://www.cs171.org/resources.html

Re: Ask HN: Any good books on graphing/charting/visualization?

#33
Most of these (rather good) suggestions revolve around learning the theory of representing data. But how does one practically accomplish these visualization tasks?

I have been delving in this area for the past couple months, and even though I am still learning, I will give my practical suggestions to the programmer:

1) First accept that there is no silver bullet to data visualization. You pick the tool that makes the most sense. Sometimes you have to write a Java program, sometimes a Python program, and yes, even sometimes an Excel spreadsheet. Don't be picky--just get it done.

2) Programmatically speaking, there are ways to represent truly massive terabyte datasets.

- You can learn Processing (used by Ben Fry in Visualizing Data) which is based on Java and pretty simple to learn. My caveat is that you can't run these scripts server-side, that is, it doesn't generate jpgs or pngs on demand due to headless mode constraints.

- You can use Beautiful Soup in Python to easily modify XML data for SVG graphics. Check out this: http://flowingdata.com/2009/11/12/how-to-make-a-us-county-th...

- You can learn Java's image library (I haven't done this so I can't really give any advice, but this is what Processing simplifies I think)

- You can use Excel to easily pump out bar/pie/line graphs

- You can use the Google Chart API

- You can use Flash. Check out AmCharts for that Mint-y goodness.

3) Learn statistics. Browse the Netflix Prize forums. Struggle with MatLab or R or Octave. You need to learn how to efficiently handle large datasets in memory to better sift through the essential information you need. For very very large sets that absolutely cannot be handled in memory, you'll want to check out Hadoop + MapReduce. Check out Cloudera's distribution for Hadoop. Handling data is every bit as important as visualizing it.

Re: Ask HN: Any good books on graphing/charting/visualization?

#35
A colleague says great things about Cleveland's "The Elements of Graphing Data." It talks about how to leverage the way people perceive graphs in order to convey information. I've flipped through it, and it's on my to-read list. Sorry I can't say more about it.

Re: Ask HN: Any good books on graphing/charting/visualization?

#36
post #20
post #16

Fun fact - Tufte's in Arlington giving a talk and we're taking a 15 minute break right now. Compelling speaker and thrilling read (he's giving away four of his books to every attendee).

I attended a one-day seminar of Tufte's one time and agree that it was pretty good. But he was by no means "giving away" his books; they were built into the (considerable) price of the event. I also recall being amazed at how many people showed up. This was in a large hotel ballroom in SF and we were jam packed in there. Another fun fact: when he couldn't get his first book (VDQI) published the way he wanted, he mort…

FWIW, compared to similar seminars I thought the price of Tufte's was very reasonable - IIRC, shy of $400, and includes $160 worth of books. I also thought the class was quite good, BTW.

Re: Ask HN: Any good books on graphing/charting/visualization?

#37
post #5

Edward Tufte's book The Visual Display of Quantitative Information is a monumental book. He writes not about how to make your graphs look pretty, but how to display vast quantities of data and distill them down into useful graphics that communicate themselves effectively. He provides examples of good and bad graphs, but more importantly, explains what exactly it is that makes those examples good and bad, and further…

For pure data visualization, Tufte is absolutely the brilliant and helps you avoid a whole raft of bad behavior that leads to sloppy, hard to understand graphics. I can't second your suggestion enough.

I would add that his one day course is a great way to get started reading his books (especially if you can get your employer to pay for it). He's a great speaker and you get all the books as part of the course. I wish all the makers of charting libraries, toolkits, and data analysis software were more familiar with his work. It would save us from some truly awful junk.

One area where I disagree with him frequently is when he strays from data visualization into user interface design. In general, I find his user interface preferences result in UI's that are too cluttered. One of his main rules is that data presentations should be very dense. However, I disagree that this approach works as well for user interfaces as it does when visualizing data. If you look at his web site (http://www.edwardtufte.com/) you can see his UI philosophy on display. I find Don Norman to be much better in this area than Tufte.

Re: Ask HN: Any good books on graphing/charting/visualization?

#38
post #20
post #16

Fun fact - Tufte's in Arlington giving a talk and we're taking a 15 minute break right now. Compelling speaker and thrilling read (he's giving away four of his books to every attendee).

I attended a one-day seminar of Tufte's one time and agree that it was pretty good. But he was by no means "giving away" his books; they were built into the (considerable) price of the event. I also recall being amazed at how many people showed up. This was in a large hotel ballroom in SF and we were jam packed in there. Another fun fact: when he couldn't get his first book (VDQI) published the way he wanted, he mort…

My favorite line was: "Bad design pokes a finger into the eye of thought."

He even brought out his iPhone & iPad and commented on the easily-navigated UI.

Normal registration was $380 per person, albeit ft students received a $180 discount.

I half-expected him to show some of Randall Munroe's hi-res graphics (such as http://xkcd.com/657/), but alas, it would have been too perfect =)

Re: Ask HN: Any good books on graphing/charting/visualization?

#40
post #17

I would highly recommend learning R ( http://www.r-project.org/ ). It is very easy to directly query databases and R has many visualisation packages, including the awesome ggplot2 ( http://had.co.nz/ggplot2/ ) based on the grammar of graphics. I'm writing an R graphs cookbook and my startup's visualisation product is also built on R (see profile and feel free to email me if you need any help). Also, look at Ben Fry's…

I second Python+Matplotlib and toss in another notion: animation. With Matplotlib you can generate a plot, save it as a .png file, step to the next plot, save it, etc. all unattended. Then combine your plots into a movie file using one of many programs designed to do just that and presto! your own movie.

I've done this on occasion and with success. When it fits, animation works wonders. And when it doesn't, look for "duck" in Tufte.

Post reply on HN