I've just spend a couple of hours dusting off an old project of mine, that involved generating pretty 3D pie charts by combining Mako templates with the Povray scene description language. I improved the image quality by enabling radiosity, and the end result is quite appealing (see below).

prettypie

Now I'm thinking that there may be some people out there who would be prepared to pay to generate such images for websites or for print, and it wouldn't be too hard to extend the idea to other forms of chart, such as bar graphs. So, dear lazyweb, is there a big enough market in such a thing to warrant sinking my valuable spare time into?

This blog post was posted to It's All Geek to Me on Sunday June 29th, 2008 at 6:43PM
 

12 Responses to "Pretty as Pie"

  • john doa
    June 29th, 2008, 8:47 p.m.

    no there isn't. Just release it as open source, will ya!

  • Nick Moffitt
    June 29th, 2008, 10:31 p.m.

    This image makes me very sad. Pie charts that are distorted along one axis (commonly for whizbang foreshortened 3d effects) do not have any correlation between the area of the slice and the value being displayed. I was very disappointed when the google graphing URLs included 3D pie charts, as they're useless at conveying information in a way that can be understood by the reader.

  • June 30th, 2008, 9:14 a.m.

    John, maybe one day!

    Nick, granted a 3D pie chart makes it a little harder to determin relative proportions than a 2D one, but I don't think they are useless -- people are used to viewing real world objects with foreshortening. I'm also looking in to ways of displaying the actual percentages over the pie chart...

  • June 30th, 2008, 1:08 p.m.

    Same as Nick,
    these diagrams are really beautiful, but totally loose their meaning in 3d.

  • wcyee
    June 30th, 2008, 4:58 p.m.

    I'll add to the chorus, but go further: pie charts (2D included) rarely express anything about data that can't be expressed in far better ways through bars or stacked bars. They're just visually appealing, which is why you really need to target business/marketing powerpoint types, looking to dress up their online presentations. They love this stuff.

  • June 30th, 2008, 5:16 p.m.

    I agree with the other folks. The pic you generated is gorgeous and belongs on the cover of a textbook for statistics or marketing or something. But it's not useful to convey information, which is the purpose of a graph.

    Even without the 3D foreshortening, pie charts are considered "low density and fail to order values along a visual dimension." Distorting them with 3D, shadows, reflections, height differences, etc. just obscure the information worse.

    You might want to read Edward Tufte's books, or the "Ask E.T" forum:
    http://www.edwardtufte.com/bboard/q-and-a?topic_id=1

  • Toothy
    June 30th, 2008, 6:28 p.m.

    Great chart.

    Please ignore the overly pretentious ones who claim that it distorts anything.

    A piechart's role is to convey an approximate area, it does not matter if it is slightly distorted. One only cares about whether the areas are about equal, twice as big etc.

    The image is gorgeous. There is a market for gorgeous stuff. Otherwise we all be using gnuplot ... yikes.

    But as far as charting libraries go, you'll need to have a large number of them, plus customization. It is a tough project.

  • June 30th, 2008, 9:33 p.m.
  • [...] think it was this project that started my pie chart fetish. I wonder if there is a support group or something… Share [...]

  • July 24th, 2008, 11:40 a.m.

    A beautiful image, but very confusing. A pie chart is used for a visual presentation of data. The size of a part corresponds to the relative size of this part of the data. In your example, multiple interpretations are possible:
    angle, height and even volume.

    A chart like this could really make sense if you want to visualise multiple factors. Example: sales figures for visitors to a webshop, sorted by country of origin. In that case the circle parts could represent the country of origin, the height of the parts the average amount paid and the volume of each part would represent the total amount of sales to that particular country.

  • November 9th, 2008, 1:04 a.m.

    Можно ли взять одну картинку с Вашего блога? Очень понравилась. Линк на Вас есстественно поставлю.

  • January 16th, 2009, 10 p.m.

    Отличные новости, так держать, удачи в будущем.

Leave a Comment

You can use bbcode in the comment: e.g. [b]This is bold[/b], [url]http://www.willmcgugan.com[/url], [code python]import this[/code]
Preview Posting...
Previewing comment, please wait a moment...

My name is Will McGugan. I am an unabashed geek, an author, a hacker and a Python expert – amongst other things!

My Blogs
Search for Posts
Possibly related posts
Tags
 
Popular Tags
 
Archives
2009
 
Recent Comments
Its a path to a django template, I use blog/posts/microblog/, which should probably be the default. But you can change ...
will,thanks ! there is a doubt that i do not know what to fill in the Template path, the project's ...
Atree, add the details via the admin site. You also need to select which blog (or channel) the tweets will ...
hi,will, thanks for your last reply. and i have another question that how do i add a microblog, thanks :-)
Dear Sir, I recently purchased your book, as part of my decision to quit science and retrain as a computer ...
- Malcolm Sutherland on Table of Contents for Pygame Book
 
© 2008 Will McGugan.

A technoblog blog, design by Will McGugan