Jimbo Wales, the founder of Wikipedia, started a poll in Wikipedia to evaluate the support for his idea of blanking all Wikipedia to protest against SOPA. Hundreds of contributors are participating in the discussion and the story is currently the top most article in Hacker News.
One thing about the discussion is that it is textual. It is fun to read through different sides of the argument but it is hard to evaluate the overall support/oppose statistics. I created a simple process that scrapes the Wikipedia discussion in real-time and creates a pie-chart showing the current support/oppose statistics. You can see the live stats in the pie-chart below.
[Update: The chart below is now an image of the final outcome as the discussion has already ended]
Framework: PHP The results of the YQL queries are grabbed as JSON and the count of the number of matches is extracted from the result. The count of results for four queries (Support, Strong Support, Oppose, Strong Oppose) is passed to Google Visualization API to create the chart.
At the end, if Wikipedians have their way of having a discussion, we have hackers way of visualizing it.