As part of a recent internal project, we needed to craft a visual progress meter for all to reference. Being fans of pizza, we created a pizza chart display our current status in relation to our goal. As we get closer to the goal, more pizza disappears, until the pizza is all gone.

pizza chart in browser

The page requests some JSON from the server every ten seconds, updates the numbers, and redraws the pizza. To dynamically represent the amount of pizza left, an SVG clipping path is drawn, revealing more of the cardboard image underneath.

pizza chart projected in office

This became a great opportunity to experiment and have fun. We used TypeKit to serve up Cooper Black, Zepto.js for DOM manipulation, and then constructed the SVG path string dynamically for each redraw. When the goal is reached, the DOM is scraped and a victory screen is displayed, featuring a Street Fighter, animated rainbow gifs, and a MIDI audio file.

Pizza Chart Victory Screen

In the end this was an entertaining and small project for tracking our progress. Ben has nice overview about it on the MailChimp Blog.

Post to Twitter


 
  • Nick Roper

    Now that’s what I call proper programming !

  • http://www.mailchimp.com/blog/visualizing-data-with-pizza/ Visualizing Data With Pizza | MailChimp Email Marketing Blog

    [...] And if you have no idea who Ken is, here ya go. We try to foster creativity and innovation in every department here at MailChimp. Keeps the brain juices flowing. So the way our dev team combined forces with our design team to do something experimental like this just makes me all giddy. They had me at pizza, but the surprise ending was super cool. Read more about the techie details over at the DesignLab blog. [...]

  • http://www.mark-ha.com/kategori/67-bayan-pijama-takim.aspx Bayan Pijama

    Loll :)

  • http://www.bcscambalkon.com Bursa Cam Balkon

    Bursa Cam Balkon yapımı konusunda sorunsuz hitmet.Kaliteli hizmet için sitemize gelebilirsiniz.Bol referanslı kaliteli hizmet için tek adresiz.

  • http://www.facebook.com/people/Francis-Lee/100003144950031 Francis Lee

    Very creative and fun, really impressive. negozio tiffany

  • Zumabeni

    That is really a great post thanks for sharing this
    imitazioni orologi prezzi

  • Dabma

    This has made my
    day. I wish all postings were this good
     Borse Gucci

  • Halb

    Based on the fact that most people who write don’t even take there time to organize their post. I take out few seconds or minutes to say a big thank you whenever I go through a good post. Nice work.  Réplique Montres

  • http://sacs-deluxe-fr.org/gucci-portefeuille-gucci-fall-winter-c-12_42.html replique gucci sac

    Ur visual presentation feels marvellous. I look forward 2 ur next show.

blog comments powered by Disqus
© 2001-2010 MailChimp. All Rights Reserved.