Shop Mobile More Submit  Join Login


Submitted on
July 14, 2010
Image Size
46.5 KB


76 (who?)


Creative Commons License
Some rights reserved. This work is licensed under a
Creative Commons Attribution-Noncommercial-Share Alike 3.0 License.
Poll Pies by kemayo Poll Pies by kemayo
Pie charts are cool. This sticks a google charts pie chart under any completed poll. It'll add one in after you vote without requiring a page reload, also.

I can't say that I've thoroughly tested it. Really long poll answers might make it get weird.

Install here: [link]

You need Greasemonkey. (Or a compatible equivalent in another browser. It's possible to persuade Chrome to use these scripts, I believe.)

The after-vote stuff doesn't handle voting in the message center. I might fix this someday.
Add a Comment:
electricjonny Featured By Owner Edited Aug 22, 2014  Hobbyist Photographer
Hey :) Just wanted to let you know that I've fixed and changed the js here to work right, now that it seems it doesn't work at all.

Greasemonkey seems to have further sandboxed its unsafeWindow, so using that to grab dA's jQuery doesn't work anymore.

Also, it seems that the code to grab the poll vote descriptions doesn't work anymore (dA and changing the div classes/markup…), so I fixed that.  Also made it work on, so people can see the google pie result there.  I also changed the pie color to blue, since that seemed to fit a bit better with the dA skin, rather than the default orange.  EDIT: Heh sorry, seems that I had some Stylish to modify the bar result color... so your default orange may be alright here.  Feel free to cut that arg out of the URL and go with the same code, just without the blue colored pie =P

Anyway, here's the code updates, if you want to change yours… :)

EDIT:  It seems this makes the message centre not show results :o   So, yeah, don't update...
namenotrequired Featured By Owner Jan 13, 2012  Student Interface Designer
I featured this here [link] :)
Invader-Sparkle Featured By Owner Dec 26, 2010
Wow thanks this is so cool!
Baz135 Featured By Owner Aug 26, 2010  Hobbyist Photographer
As neat as it is, if there's too many options on a poll the shades of the different options become to close to each other and so it becomes kind of hard to differentiate.
pikadudeno1 Featured By Owner Jul 25, 2010  Hobbyist Digital Artist
Chrome doesn't support unsafeWindow, but if you replace the first two lines of code with Content Scope Runner, the script runs fine under Chrome. :)
sa-cool Featured By Owner Jul 25, 2010  Professional Photographer
love it! :aww:
FateZoom Featured By Owner Jul 25, 2010  Student Interface Designer
i love this id!!
SaTaNiA Featured By Owner Jul 15, 2010  Hobbyist Digital Artist
Simply Awesome :clap:
Tifa22 Featured By Owner Jul 15, 2010  Hobbyist Digital Artist
That's a cool thing :D
Mheltin Featured By Owner Jul 14, 2010  Professional Interface Designer
Awesome. :la:
Add a Comment: