How do I scale Histogram values to "per second" basis?

In Kibana 3, I can convert the y-axis of a histogram into events per second using the settings (by clicking the checkbox at: Settings -> Panel -> Transform Series -> [ ] Seconds). As I understand it, that feature divides the Y value by the width of the X-axis bucket in seconds.

How can I accomplish the same goal in Kibana 4?

You can't do that in core Kibana at the moment, but you can add a Timelion plugin, which allows derivatives, and embed one of its charts in a dashboard.