User:MusikBot/CategoryCounter

{{User:MusikBot/task|Populates the size of categories into a dataset for use in on-wiki charts.

How to add a new category
}}
 * 1) Create the chart template using category chart. See articles lacking sources chart as an example.
 * 2) Create the /data subpage with the content   (an empty array), for example at Template:Articles lacking sources chart/data.
 * 3) Ask an admin or template editor to change the content type of the /data page to JSON, for instance at Special:ChangeContentModel/Template:Articles lacking sources chart/data.
 * 4) Ask an admin to configure the category on the bot's configuration page. See below for documentation.
 * 5) Add any historical data to the dataset page as desired.
 * 6) The bot should start adding data to the /data page within the amount of time configured (i.e. within a week if you chose "weekly" granularity).

Example
articles lacking sources chart is an example chart: