Hacker News new | ask | show | jobs
by benjamincburns 4479 days ago
Did you roll your own SVG chart lib for this? If not, mind sharing which one you're using? It's very nice.

If you were to make it so I can open a socket or websocket to it (perhaps on a second, internal port) and publish whatever data I want, that'd be all kinds of nifty. That is, make it so I can just start spraying numbers at ws://myhost:5556/Really%20Awesome%20Data and with that a nice auto-scaled chart magically appears in the dashboard.

Edit: Oh, I see a github ribbon. Maybe you'll see a pull request sometime soon...

Edit 2: Anyone wondering about my original question - the charts are built using the D3 project.

http://d3js.org/

3 comments

Our source for the charts is here: https://github.com/scoutapp/scout_realtime/blob/master/lib/s...

It's not yet in a state for plug-and-play usage in other projects. If you're looking to rollout smooth-scrolling charts quickly, checkout http://smoothiecharts.org/.

I just built this yesterday: http://blog.vivekpanyam.com/plotter-plot-anything/. Inspired by Tasseo and Scout Realtime
Cheers! If this were a "Show HN" I'd be happy to upvote! Edit: I see now that it kinda/sorta was, and I missed the opportunity.
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.
I've been using shopify/dashing for metrics display:

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.