I've been searching for something like that for a while now. A metrics web framework that consumes and renders json/edn would be interesting.
http://shopify.github.io/dashing/
You can post JSON directly to each widget. It's also based on Sinatra.
Someone already created a widget for Rickshaw graphs, I suppose it could be adapted to use D3.js.