Tying tag counts to pie chart
-
Hello,
I’d like to take the number of posts associated with a tag, and plot them on a chart to show the tag distribution.
I’ve figured out how to get the count of a specific tag. How would I plot this on a doughnut chart?
<?php $taxonomy = "post_tag"; $term_name = 'iPhone'; $term = get_term_by('name', $term_name, $taxonomy); echo $term->count; ?>
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Tying tag counts to pie chart’ is closed to new replies.