跳到正文
每分钟自动更新
12月3日周四
  1. Simon Willison

    Datasette Charts: Datasette Advent Day 2

    中文摘要

    中文摘要待更新

    英文原文

    Datasette Charts: Datasette Advent Day 2 Datasette Charts is a brand new plugin for Datasette, which suggests charts automatically based on the shape of your data. I recorded a new video demo where I take iNaturalist sightings of brown pelicans and explore them using maps, line charts, bar charts, calendar heatmaps and box charts. Tags: visualization , youtube , datasette , datasette-charts

11月28日周六
  1. Simon Willison

    datasette-charts-pie 0.1a0

    中文摘要

    中文摘要待更新

    英文原文

    Release: datasette-charts-pie 0.1a0 I don't like pie charts or donut charts, so I left them out of datasette-charts - but then I needed to build a plugin to exercise the ability to add new chart types... and here we are! Here are live demos (in Datasette Lite) of Pie , Donut , Sunburst , Rose . Tags: datasette-charts , datasette , visualization

  2. Simon Willison

    datasette-charts 0.5a0

    中文摘要

    中文摘要待更新

    英文原文

    Release: datasette-charts 0.5a0 After some extensive prototyping, I added three new chart types to Datasette Charts: Calendar heatmaps , where density of dates over a year is represented as a heatmap calendar. Box plots , capturing the variance of a numeric value by representing the quartiles, median, minimum and maximum values. Active over time , which detects start / end date pairs and uses them to determine how many records were active during different time periods. Here's a calendar heat map demo in Datasette Lite, showing the publish dates of releases in the Datasette package ecosystem. Tags: datasette-charts , datasette , visualization

  3. Simon Willison

    datasette-charts 0.4a0

    中文摘要

    中文摘要待更新

    英文原文

    Release: 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 . Tags: datasette-charts , datasette , visualization , datasette-lite

11月26日周四
  1. Simon Willison

    datasette-charts 0.3a0

    中文摘要

    中文摘要待更新

    英文原文

    Release: datasette-charts 0.3a0 I added chart annotations to datasette-charts ! You can now render a chart and then annotate it with lines, shaded areas, labels, or a combination of the three. A chart with annotations looks like this: Here's that same chart in Datasette Lite , where you can tweak the annotations using the chart builder UI: If you also install Datasette Agent the agent can build annotated charts for you. Here's what I got on the agent.datasette.io demo for this prompt: Show a chart comparing Simon's tagged content about LLMs with his tagged content about Datasette, with annotations Tags: datasette , visualization , datasette-charts

11月24日周二
  1. Simon Willison

    datasette-charts 0.2a1

    中文摘要

    中文摘要待更新

    英文原文

    Release: datasette-charts 0.2a1 Minor UI improvements: Collapsing the suggested charts section now leaves the chart visible. Following a link to a chart opens it with the suggestions collapsed for that visit. On table pages the panel now sits below the "4,235 rows where country = CHN" line. The "Data" table under each chart has been replaced by Copy TSV and Copy CSV buttons. Removed the "Chart this data" item from the table, view and query action menus. More space between lines in chart tooltips. Tags: datasette , visualization , datasette-charts

  2. Simon Willison

    datasette-charts 0.2a0

    中文摘要

    中文摘要待更新

    英文原文

    Release: datasette-charts 0.2a0 I introduced this new charting plugin for Datasette yesterday . Today it's gained integration with Datasette Agent , so now you can ask chat for a chart and it will create one for you using the same underlying chart suggestion and generation tools. Here's a demo video, recorded on agent.datasette.io where you can sign in with GitHub to try the plugin yourself: Download the video (MP4) I prompt Datasette Agent to "Use #stats to show sqlite-utils downloads over time as a chart" - where typing "#stats" opens a table search box. It shows me a chart inline in the chat, and when I click "Open in the chart builder" it opens the chart in a panel along with the table page. I use the table page to switch to a chart of "datasette", then when I ask the agent "what does the chart show?" it notices that I changed the content in the panel and describes the new Datasette chart to me. Here's a Markdown export of the chat from the video. Tags: datasette-agent , datasette , visualization , datasette-charts , sqlite

11月23日周一
  1. Simon Willison

    datasette-charts 0.1a0

    中文摘要

    中文摘要待更新

    英文原文

    Release: 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 compi

11月16日周一
  1. Simon Willison

    datasette-maplibre 0.1a0

    中文摘要

    发布:datasette-maplibre 0.1a0 有一段很长时间以来,这是第一个新的Datasette地理空间插件!这个插件将出色的MapLibre GL库与OpenFreeMap结合在一起,OpenFreeMap是由Zsolt Ero运营的免费矢量地图服务器(你应该在GitHub上赞助Zsolt。)我大部分是通过向Claude Fable 5.2输入一个提示完成的:查看datasette-cluster-map和datasette-leaflet-geojson插件,然后查看~/dev/tools/openfreemap-demo.html - 然后构建一个新的Datasette插件,该插件使用maplibreGL和openfreemap,并结合那两个插件的功能 - 但要有创意,跳出框框思考这个插件可能具有的其他有用功能。“要有创意,跳出框框”带来了一些不错的想法 - 我最喜欢的是它会显示GeoJSON形状的SVG预览,然后在它们滚动到视野中时才加载WebGL预览。我还让Claude构建了一个全面的演示,它可以在最新的Datasette Lite中运行,因此你可以访问此链接,通过Pyodide和WebAssembly在你的浏览器中加载插件和演示数据库。我喜欢这个演示页面,它在同一张地图上展示了GeoJSON形状和纬度/经度点:标签:可视化,生成式AI,datasette-lite,claude-myt

    英文原文

    Release: datasette-maplibre 0.1a0 The first new Datasette geospatial plugin in quite a while! This one combines the excellent MapLibre GL library with OpenFreeMap , the free vector map server operated by Zsolt Ero (you should sponsor Zsolt on GitHub .) I built most of this with a single prompt to Claude Fable 5.2: Look at datasette-cluster-map and datasette-leaflet-geojson plugins, then look at ~/dev/tools/openfreemap-demo.html - then build a brand new Datasette plugin that uses maplibreGL and openfreemap and combines the features of those other two plugins - but be creative and think outside the box for other useful features the plugin might have "Be creative and think outside the box" resulted in a few neat ideas - my favorite is that it displays SVG previews of GeoJSON shapes, then loads a WebGL preview only when they scroll into view. I also had Claude build a comprehensive demo which works in the latest Datasette Lite, so you can visit this link to load the plugin and a demo database in your browser via Pyodide and WebAssembly. I like this demo page showing both GeoJSON shapes and lat/lon points on the same map: Tags: visualization , generative-ai , datasette-lite , claude-myt