Dear all, Am new programmers and I'm facing a problem on how I can draw a pie chart column-wise using PHP MySQL. Please see the MySQL table below;
id Q1 Q2 Q3
1 Female No 30
2 Male Yes 40
3 Female Yes 50
4 Male Yes 60

What I need is PHP/high chart code that will dynamically plot a pie chart for columns q1,q2, and q3. The idea here is to have the output as per google form does.

You can use this tutorial on how to create a chart pie with data from MySql. Learn to use Google to search for answers to your questions, I returned this tutorial from my 1st search - Plus2Net Tutorial

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.