Topic breakdown 2

From Discourse DB
Jump to navigation Jump to search

This is a test of the "jqplot" formats.

Here are some ways to view the distribution of topics for opinion items on this site. The numbers seen here are the values of the Has number of opinion items property, which is itself set within the Topic template.

jQuery bar graph

The 20 most popular topics:

Horizontal:

{{#ask:|?Has number of opinion items|sort=Has number of opinion items|order=descending|limit=20|format=jqplotbar|height=400|width=800|title=Most popular topics|barcolor=blue|bardirection=horizontal}}

Vertical:

{{#ask:|?Has number of opinion items|sort=Has number of opinion items|order=descending|limit=20|format=jqplotbar|height=600|width=800|title=Most popular topics|barcolor=blue|bardirection=vertical}}

jQuery pie chart

The 10 most popular topics:

{{#ask:|?Has number of opinion items|sort=Has number of opinion items|order=descending|limit=10|width=600|format=jqplotpie}}