datasette-charts 0.1a0 发布

我已经思考这个问题一年多了,但直到周日我才终于启动 Claude Fable 5.2 来构建一个初始原型。原型进展得如此顺利,以至于它现在已经成为一个完整的插件。
你可以在 Datasette Lite 里试用它。它看起来是这样的:
这个新的图表插件可以作用于 Datasette 中的任何表或任意 SQL 查询。它定义了几种不同的图表类型(使用内置的 D3、Observable Plot 和 topojson-client),每种类型都配有一套启发式规则,用来判断它们何时可能适合某一组特定的数据行。
顶部那些建议缩略图是由数据驱动的真实可视化结果,选中其中一个就会调出完整图表,以及用于修改图表的工具。你也可以从零开始手动构建图表。
与其他 Datasette 可视化插件一样,图表的当前状态会持久保存在 URL 的 #fragment 中——因此你可以收藏图表,或将其分享给他人。
最重要的特性是,图表会把所有行都考虑在内。此前的图表插件(如 datasette-vega)只会针对当前页的结果显示图表,通常最多 100 行。
新插件会把每个图表编译成一条 SQL 查询,通过 GROUP BY、时间分桶和窗口函数对整个结果集(可能多达数百万行)进行聚合。每条查询返回的结果上限为 5,000 行,适合在图表中展示。该插件使用采样来帮助为大表推荐图表,而无需评估完整的结果集。
我对这个插件的首个版本非常满意。它仍然处于 alpha 阶段,但它是我最接近这一梦想的一次:让 Datasette 在用户所需指引尽可能少的情况下帮助实现数据可视化。
发布于 2026 年 11 月 23 日凌晨 12:37
Ladybird 的首个 alpha 版本 - 2026 年 11 月 23 日
这是 Simon Willison 撰写的一则 beat,发布于 2026 年 11 月 23 日。
每月赞助我 10 美元,即可获得一份当月最重要的 LLM 进展精选电子邮件摘要。
付钱给我,让我给你少发点!
译文由英文原文机器翻译,术语按行业惯例统一,可在文末展开原文核对。
查看英文原文(datasette-charts 0.1a0)
I've been thinking about this problem for over a year now, but on Sunday I finally fired up Claude Fable 5.2 to build an initial prototype. The prototype went so well that this is now a full plugin.
You can try it out in Datasette Lite here. It looks like this:

The new charts plugin works against any table or arbitrary SQL query in Datasette. It defines several different chart types (using vendored D3, Observable Plot, and topojson-client), each with a set of heuristics for identifying when they might be a good match for a specific set of rows.
Those suggestion thumbnails at the top are actual visualizations driven by the data, and selecting one pulls up the full chart along with tools for modifying it. You can also manually construct a chart from scratch.
As with other Datasette visualization plugins, the current state of your chart is persisted in a #fragment in the URL - so you can bookmark charts or share them with others.
The most important feature is that the charts take all rows into account. Previous charting plugins like datasette-vega would only show charts for the current page of results, generally up to 100 rows.
The new plugin compiles each chart to a SQL query that aggregates across the entire result set (potentially millions of rows) using GROUP BY, time bucketing, and window functions. Each query returns a result capped at 5,000 rows, suitable for display on the chart. The plugin uses sampling to help suggest charts for larger tables without evaluating the full result set.
I'm really happy with this initial release of the plugin. It's still very much an alpha, but it's the closest I've got to the dream of Datasette helping visualize data with as little required direction from the user as possible.
Posted 23rd November 2026 at 12:37 am
Ladybird's first alpha release - 23rd November 2026
This is a beat by Simon Willison, posted on 23rd November 2026.
Sponsor me for $10/month and get a curated email digest of the month's most important LLM developments.
Pay me to send you less!
原文为英文,正文由自动抓取并保留原文。
原文发布于 Simon Willison(datasette-charts 0.1a0),标题、摘要与正文由机器翻译,术语按行业惯例统一,未经人工逐句校订。