12-04 更新 实时
首页/ 技术栈/ 正文

datasette-charts 0.4a0

技术栈 来源:Simon Willison 2026-11-28 07:57 2 阅读 机器翻译

新的 datasette-charts 插件有自己的一套插件 hook,允许其他插件定义新的图表类型,但我其实还没有用它做过任何事情。我让 Claude Opus 5.5 构建了一个实验性插件,只是为了试用这个 hook,结果它发现了设计中一堆不顺畅的地方。本次发布解决了这些问题,这应该会让构建额外的图表插件顺手得多。

我还为这个插件添加了一个网站,地址是 charts.datasette.io。新网站包含面向插件作者的教程,以及一个展示所有核心图表和标注的图库,每一项都链接到 Datasette Lite 上的交互式演示。

发布于 2026 年 11 月 27 日晚上 11:57

Ladybird 的首个 alpha 版本 — 2026 年 11 月 23 日

这是 Simon Willison 的一篇帖子,发布于 2026 年 11 月 27 日。

以每月 10 美元赞助我,即可获得当月最重要 LLM 进展的精选邮件摘要。

付钱让我少给你发点!

译文由英文原文机器翻译,术语按行业惯例统一,可在文末展开原文核对。

查看英文原文(datasette-charts 0.4a0)

The new datasette-charts plugin has its own plugin hook to allow other plugins to define new chart types, but I hadn't actually used it for anything yet. I had Claude Opus 5.5 build an experimental plugins just to try out the hook and it came up with a bunch of friction points in the design. This release addresses those, which should make building additional chart plugins a whole lot more ergonomic.

I've also added a website for the plugin, at charts.datasette.io. The new website includes a tutorial for plugin authors, and a gallery showing all of the core charts and annotations, each one linking to an interactive demo on Datasette Lite.

Screenshot of a documentation page section showing a two-by-two grid of cards, each with a chart screenshot, a heading, a description, a link and a collapsed disclosure. Heading: "Annotations". Intro text: "Notes drawn on a chart: lines, shaded ranges, callouts and text. They are part of the chart's spec, so they are kept in the link to the chart. Documentation for annotations." where "Documentation for annotations" is a link. Card 1: an area line chart titled "Rows per quarter of published_at", y-axis labelled "↑ Rows" with ticks 0, 20, 40, 60, 80, 100, 120, 140, 160 and x-axis ticks 2018, 2019, 2020, 2021, 2022, 2023, 2024, 2025, 2026, with a vertical dashed line just before 2023 labelled "Datasette 1.0a0"; the line peaks near 150 in mid 2020 and near 138 in early 2023. Caption "SCREENSHOT". Heading "A line at an x value". Text "A dashed line across the chart at a date, here the day of a release." Link "Try this demo yourself". Disclosure "▶ Chart spec". Card 2: a stacked bar chart titled "Rows per year of upload_time by packagetype", legend "bdist_wheel" (blue) and "sdist" (orange), y-axis labelled "↑ Rows" with ticks 0, 100, 200, 300, 400, 500, 600 and x-axis ticks 2017, 2018, 2019, 2020, 2021, 2022, 2023, 2024, 2025, 2026, 2027, with a solid red horizontal line at 500 labelled "500 uploads a year"; the bars for 2020, 2021 and 2023 rise above the line. Caption "SCREENSHOT". Heading "A line at a y value". Text "A reference line at a value, drawn solid and in red." Link "Try this demo yourself". Disclosure "▶ Chart spec". Card 3: a blue histogram titled "Distribution of latitude", y-axis labelled "↑ Rows" with ticks 0, 1,000, 2,000, 3,000, 4,000, 5,000, 6,000, 7,000, 8,000 and x-axis labelled "latitude →" with ticks −80, −60, −40, −20, 0, 20, 40, 60, with a grey shaded band from roughly −23 to 23 labelled "The tropics"; the tallest bar is just above 7,000 at around 40. Caption "SCREENSHOT". Heading "A shaded range". Text "A band between two x values, on a histogram." Link "Try this demo yourself". Disclosure "▶ Chart spec". Card 4: a scatter plot of blue dots titled "generation_gwh_2017 against capacity_mw", y-axis labelled "↑ generation_gwh_2017" with ticks 0, 5,000, 10,000, 15,000, 20,000, 25,000, 30,000, 35,000, 40,000 and x-axis labelled "capacity_mw →" with ticks 0, 1,000, 2,000, 3,000, 4,000, 5,000, showing an upward trend, with one black dot at the far right near 5,400 capacity and 31,000 generation joined by a short line to the label "Gravelines, France". Caption "SCREENSHOT". Heading "A callout on a point". Text "A dot on one data point with a line to its label. On a scatter plot the callout gives both x and y." Link "Try this demo yourself". Disclosure "▶ Chart spec".

Posted 27th November 2026 at 11:57 pm

Ladybird's first alpha release - 23rd November 2026

This is a beat by Simon Willison, posted on 27th 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.4a0),标题、摘要与正文由机器翻译,术语按行业惯例统一,未经人工逐句校订。

阅读原文 ↗