This app creates a chart that shows stories by schedule state and a custom field. It was written in Javascript and you can modify the app by editing the App.js file.
AppTemplate is released under the MIT license. See the file LICENSE for the full text.