TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Observable Plot

418 点作者 subbu大约 4 年前

16 条评论

mbostock大约 4 年前
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. ;)
评论 #27043463 未加载
评论 #27041429 未加载
评论 #27042486 未加载
评论 #27041540 未加载
评论 #27046947 未加载
评论 #27042133 未加载
评论 #27044422 未加载
评论 #27043104 未加载
RobinL大约 4 年前
As soon as I saw this, I thought: &#x27;how is this different from vega lite&#x27;.<p>An answer is here: <a href="https:&#x2F;&#x2F;observablehq.com&#x2F;@observablehq&#x2F;plot-vega-lite" rel="nofollow">https:&#x2F;&#x2F;observablehq.com&#x2F;@observablehq&#x2F;plot-vega-lite</a><p>It&#x27;ll be very interesting to see this develop. My initial reaction, as a vega-lite user is I&#x27;m not sure it&#x27;s worth learning the new API immediately.<p>Having said that, I do find the idea of writing transforms in javascript compelling, and I can see there may be some situations in which this is a very elegant solution.<p>I think the idea of a plotting library allowing transforms is initially a little jarring - feels potentially like poor separation of concerns. But the more I think about it, the more it seems really logical: a lot of transforms (e.g binning) are done only for plotting purposes, in which case keeping them in the visualisation logic makes complete sense.<p>Looking further ahead (not sure this is possible in Plot yet, but giving its integration with Observable I&#x27;m sure it will be), the idea of a reactive model where charts can both react to user interactions, but also be the source of inputs (select a range, drag a bar, draw a distribution freehand) is very exciting.<p>Transforms and signals are both possible in vega&#x2F;vega lite, but I can definitely see the benefit of them being cleaner and being able to accept arbitrary javascript.
评论 #27041518 未加载
评论 #27041555 未加载
评论 #27042433 未加载
oandrew大约 4 年前
How does this compare to Apache Echarts (<a href="https:&#x2F;&#x2F;echarts.apache.org&#x2F;en&#x2F;index.html" rel="nofollow">https:&#x2F;&#x2F;echarts.apache.org&#x2F;en&#x2F;index.html</a>) ?<p>p.s. My favorite data exploration toolkit is Clickhouse + Tabix (it uses apache echarts). e.g. <a href="https:&#x2F;&#x2F;tabix.io&#x2F;doc&#x2F;draw&#x2F;Draw_Chart&#x2F;" rel="nofollow">https:&#x2F;&#x2F;tabix.io&#x2F;doc&#x2F;draw&#x2F;Draw_Chart&#x2F;</a>
评论 #27042232 未加载
simonw大约 4 年前
I&#x27;m so excited about this release. I use and like Vega-Lite, and this is openly inspired by that.<p>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&#x27;t wait to see what happens as Vega-Lite and Observable Plot continue to be inspired by each other in the future.
评论 #27045487 未加载
laGrenouille大约 4 年前
Exciting work; great to see the new wave of data science oriented JavaScript modules like this and Arquero focused on general principles such as the grammar of graphics and relational algebra.<p>If I could make a suggestion to the author: it would be a great selling point to include some interactivity in the example demo. This is really hard in R and Python, but easy in JavaScript, and would be a good&#x2F;easy selling point to a lot of data science people.
评论 #27043740 未加载
cphills大约 4 年前
This looks great! I spent a few months earlier this year learning and implementing D3 and while a little bit of a learning curve to pick up, it made sense once you got into the flow of things. Looking at this and amazed with how simple it could have been to use as a starting point if there was no need for customization. Great addition to the growing JS solutions for data needs. Another step and tool towards a JS suite of tools for data analysis!
antew大约 4 年前
As a D3 user for years, this looks great, the API looks really clean, congrats on the release!
评论 #27041754 未加载
mf_viz大约 4 年前
If you&#x27;re interested in learning more about Plot, we&#x27;ll be streaming a free workshop about it on May 18th! Details here: <a href="https:&#x2F;&#x2F;www.meetup.com&#x2F;observablehq&#x2F;events&#x2F;277855082&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.meetup.com&#x2F;observablehq&#x2F;events&#x2F;277855082&#x2F;</a>
ZeroCool2u大约 4 年前
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?
评论 #27054061 未加载
aarondia大约 4 年前
I&#x27;ve been reading about D3 and am thinking about integrating it into my React project. But I&#x27;ve come across a number of posts that discuss how React &amp; D3 don&#x27;t play nicely together because they both manipulate the DOM. [1] is a good starting point for this deep dive.<p>Does Observable Plot resolve those issues or do we need still to be careful integrating it into a React environment?<p>[1] <a href="https:&#x2F;&#x2F;medium.com&#x2F;capital-one-tech&#x2F;a-comparison-of-data-visualization-libraries-for-react-27f8fe409934" rel="nofollow">https:&#x2F;&#x2F;medium.com&#x2F;capital-one-tech&#x2F;a-comparison-of-data-vis...</a>
chaps大约 4 年前
This is really neat! &#x27;Been using observable for about a year now, and I <i>really</i> appreciate how easy it is to share notebooks with it. Circular dependencies can be fun, but that&#x27;s not really unexpected considering the model y&#x27;all use.<p>How well does this framework do with something relatively complex like an animated choropleth? Vega-lite and D3 can do them both, but they can both get complicated pretty quickly.
评论 #27043772 未加载
boardwaalk大约 4 年前
Are there Typescript definitions? Bit of a JS&#x2F;TS noob, maybe it’s obvious, but I couldn’t find any.
评论 #27068044 未加载
iddan大约 4 年前
I published a thin wrapper for React <a href="https:&#x2F;&#x2F;github.com&#x2F;iddan&#x2F;plot-react" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;iddan&#x2F;plot-react</a>
kickout大约 4 年前
Nice....Appreciate the drive towards easier use and non-programmers in general. D3 and Observeable in general are doing excellent work
terpimost大约 4 年前
Awesome. Does it require access to the document&#x2F;window or it can be used in React?
评论 #27051546 未加载
epgui大约 4 年前
This seems very well crafted. You have my attention!