The poll is made up of a simple form acceptor, which simply checks for the two variables it wants, generates a date/IP stamp, and writes a flat text file of the sort:
and a simple script that takes that text file, and an XML configuration file, and marries the two in the simplest way possible in order to produce an image file that displays a simple bar chart of the results.
Sample results look like this.
Naturally, to be in any way scientifically acceptable, one would have to do a great deal with the poll in question. For example, first of all, when voters have voted once they should presumably not be permitted to vote again; second of all, the form acceptor should do a great deal more work in terms of sanity checking of inputs; third of all, the resulting graphics could do with a little more work too.