Turning user input into pie (charts)
November 27, 2012 8:59 AM Subscribe
WordPressFilter: I'm looking for a plugin/widget/codesnippet that will allow me to create a graph using input from the user.
This seems really simple and I don't want to reinvent the wheel, but my Google-fu is taking the day off. Basically, I want the user to put numbers into one or more fields, then we apply our mathemagic formula to those numbers, then we give them a graph with the results. I tried looking along the lines of mortgage calculators, but no dice there either.
I'd prefer to find a plugin for WordPress that will handle this, but I'm also amenable (to a lesser degree) to hacking together some solution in HTML5/js if that's a viable alternative. Gentle nudges in the right direction there would be helpful too, as my skills have atrophied a wee bit...
This seems really simple and I don't want to reinvent the wheel, but my Google-fu is taking the day off. Basically, I want the user to put numbers into one or more fields, then we apply our mathemagic formula to those numbers, then we give them a graph with the results. I tried looking along the lines of mortgage calculators, but no dice there either.
I'd prefer to find a plugin for WordPress that will handle this, but I'm also amenable (to a lesser degree) to hacking together some solution in HTML5/js if that's a viable alternative. Gentle nudges in the right direction there would be helpful too, as my skills have atrophied a wee bit...
I can't tell based on your question where you're taking in the numbers from people - are these WordPress users who are logged in? Are these attached to posts, pages, or comments?
posted by artlung at 10:32 AM on November 27, 2012
posted by artlung at 10:32 AM on November 27, 2012
Response by poster: Sorry if I wasn't clear - my ideal is to have website visitors enter the data themselves. As a simplistic example, let's say a user would supply their total budget (a number), and how much they spend on food/entertainment/travel and we'd calculate the percentages and put it in a nice pie chart. I'm trying to create this all in a new WordPress page.
posted by antonymous at 11:05 AM on November 27, 2012
posted by antonymous at 11:05 AM on November 27, 2012
antonymous - it sounds like this is not in any way WordPress specific. You simply need a pie chart generator - like any of the many listed here: 22 Useful Online Chart & Graph Generators or like this and then include that on whatever WordPress page you have.
posted by artlung at 9:35 AM on November 28, 2012 [1 favorite]
posted by artlung at 9:35 AM on November 28, 2012 [1 favorite]
« Older Late twenties female, sexually inexperienced, who... | Jump on the iPhone bandwagon--maybe Newer »
This thread is closed to new comments.
There appear to be a couple GCT-related plugins (here and here) but they appear to be more admin- than user-facing solutions, but you might be able to hack something together.
Good luck!
posted by maniactown at 9:44 AM on November 27, 2012