datasette-charts
A plugin for Datasette that provides full-data chart visualization for tables and arbitrary SQL queries, supporting multiple chart types and intelligent recommendations.
Timeline (last 90 days)
When developing datasette-charts, the author deliberately omitted pie charts and donut charts because he does not like these chart types.
0.4a0 fixes ergonomics issues; such improvements do not appear in feature lists, yet directly affect whether third-party developers are willing to develop plugins.
The annotation system supports four capabilities: drawing a dashed line at a specified x value, drawing a red reference line at a specified y value, marking a range with a gray band on a histogram, and adding labels to data points on a scatter plot with leader lines to the labels.
Annotations are part of the chart spec, so they are preserved in the chart link, and annotations are passed along when the link is shared.
datasette-charts' chart type hook allows third-party plugins to register new chart renderers; the core plugin iterates over the implementations registered by all plugins and dispatches calls by chart type, without modifying its own code.
The author used Claude Opus 5.5 to build an experimental plugin to verify the practical usability of the datasette-charts plugin hook and expose friction points in the design.
datasette-charts version 0.4a0 has been released, with the core change being optimization of the plugin hook for chart types.
Before 0.4a0, although datasette-charts' chart type plugin hook was already provided, the author had never actually built anything with it.
When a user accesses a chart directly via a link, version 0.2a1 automatically collapses the suggestions area.
datasette-charts is a plugin that extends Datasette's native functionality by injecting chart-related entry points into Datasette's menus and pages.
33 more timeline events
All Facts (20)
When developing datasette-charts, the author deliberately omitted pie charts and donut charts because he does not like these chart types.
50%UnverifiedThe annotation system supports four capabilities: drawing a dashed line at a specified x value, drawing a red reference line at a specified y value, marking a range with a gray band on a histogram, and adding labels to data points on a scatter plot with leader lines to the labels.
50%Unverifieddatasette-charts' chart type hook allows third-party plugins to register new chart renderers; the core plugin iterates over the implementations registered by all plugins and dispatches calls by chart type, without modifying its own code.
50%Unverified0.4a0 fixes ergonomics issues; such improvements do not appear in feature lists, yet directly affect whether third-party developers are willing to develop plugins.
50%UnverifiedAnnotations are part of the chart spec, so they are preserved in the chart link, and annotations are passed along when the link is shared.
50%UnverifiedBefore 0.4a0, although datasette-charts' chart type plugin hook was already provided, the author had never actually built anything with it.
50%Unverifieddatasette-charts is a plugin that extends Datasette's native functionality by injecting chart-related entry points into Datasette's menus and pages.
50%UnverifiedVersion 0.2a1 removes the "Chart this data" menu item from the table, view, and query action menus.
50%UnverifiedVersion 0.2a1 adds line spacing in chart tooltips.
50%UnverifiedWhen a user accesses a chart directly via a link, version 0.2a1 automatically collapses the suggestions area.
50%UnverifiedOn table pages in version 0.2a1, the chart panel is located below the row count line (e.g., "4,235 rows where country = CHN").
50%UnverifiedIn version 0.2a1, collapsing the "suggested charts" area keeps the chart itself visible, whereas previously collapsing that area could hide the chart along with it.
50%UnverifiedVersion 0.2a1 replaces the "Data" table beneath each chart with Copy TSV and Copy CSV buttons.
50%UnverifiedThe annotation feature can be combined with Datasette Agent, letting users have the AI agent directly generate annotated charts through natural language prompts.
50%UnverifiedAnnotations are defined via JSON configuration, and each annotation includes a type, positional parameters, and optional text content.
50%Unverifieddatasette-charts supports three types of annotations: point annotations (point), range annotations (range), and line annotations (line), as well as standalone text annotations (text).
50%UnverifiedThe interactive example provided by the author uses the global power plant database, aggregating installed capacity by year of commissioning and overlaying range shading, point annotations, and a horizontal reference line.
50%UnverifiedSharing a Datasette Lite link effectively shares the data, the SQL, and the chart configuration all at once.
50%UnverifiedIn chart scenarios, Datasette Agent typically first generates a SQL query from the natural language question, then calls the rendering interface of datasette-charts, expressing the annotations as the same set of JSON configuration.
50%UnverifiedIn Datasette Lite, the chart builder and preview panel run entirely on the front end, so modifying annotation configuration requires no round trip to the server, achieving a what-you-see-is-what-you-get effect where input refreshes immediately.
50%