开发者

How to visualise yes/no data

开发者 https://www.devze.com 2023-03-06 03:53 出处:网络
I don\'t know where this question g开发者_如何学运维oes, if it belongs in math, then someone should move it there.

I don't know where this question g开发者_如何学运维oes, if it belongs in math, then someone should move it there.

I have a set of yes/no data (0s and 1s), what possible ways could you visualise this, apart from the normal pie charts and the like.

I want to do this in Javascript (edit: jquery would be easier), using AJAX with PHP.


Radiobuttons or Checkboxes are usually used on webpages to display Yes/No choices. Another option would be to use images like a green check mark to display a positive value and a red cross to display a negative value.


There are many ways to display data. Are you looking to show it as a graph? If so, try google charts API.


Just the binary choice with no other criteria? (time, location, etc.)

A two element bar chart, two shapes (circles?) in different sizes and colors (like a disjoint Venn diagram), or a pie chart immediately comes to mind.

0

精彩评论

暂无评论...
验证码 换一张
取 消