Live data from Hacker News

Observable Plot

observablehq.com

41–50 of 56 posts

Re: Observable Plot

#41
post #29

I'm so excited about this release. I use and like Vega-Lite, and this is openly inspired by that. The ideas embedded in Vega-Lite are such good ideas that having an alternative implementation of them - especially with the pedigree of D3 and Observable behind them - is a big win. I can't wait to see what happens as Vega-Lite and Observable Plot continue to be inspired by each other in the future.

Thanks for the Vega-Lite feedback. We are huge fans of Observable and D3 and will see what we can learn from Plot.

Re: Observable Plot

#44
post #2

We’ve been developing Observable Plot for a while now, and I’m thrilled to finally have it out in the public. Feel free to ask me any questions! Or share your plots on Observable and I can make suggestions. ;)

Hey Mike, thanks for all the work you've been doing - I first used D3 back in 2013/2014 and been using them for side projects since.

I haven't dug into the whole v3/v4 modularisation, so that might answer it, but is there a way to minimise the dependencies that Plot brings? You say it needs D3, but what of it does it need specifically, the whole thing? It's just that it's 250K or so, so I was wondering what the minimal setup here is.

Cheers and congrats on the release!

Re: Observable Plot

#46
post #4

Earlier quoted context omitted.

I didn't see any mention of this, but does Observable Plot support interactive charts? E.g. detailed summary on data point hover?

I'd love to use something like Plot or Vega but this is exactly why I am still using D3. Zoom, Delaunay tooltips, and extensible interactivity that I can get to work well in a React based application are very important. Unfortunately Vega's solution to anything interactive seemed incredibly awkward to me at the time. The only time it seemed like Vega made sense was publication style graphics which was unfortunate.

This can help build interactivity: https://vimeo.com/453645616 http://vega.github.io/lyra/

Re: Observable Plot

#49

When I think of easy to use charting for almost any scientific domain I work with, I usually think of Plotly. How does this compare with Plotly?

If you're familiar with Plotly Express in Python, this is like a Javascript API with similar feel. It's a lot less verbose than the equivalent raw Plotly.js code.

Re: Observable Plot

#50

When I think of easy to use charting for almost any scientific domain I work with, I usually think of Plotly. How does this compare with Plotly?

If you're familiar with Plotly Express in Python, this is like a Javascript API with similar feel. It's a lot less verbose than the equivalent raw Plotly.js code.

Got it, I had assumed there was an equivalent Plotly express API in JS as there is in Python. Thanks!
Post reply on HN