datasette-cluster-map 0.19

蓝旅人AI 前沿📡 Simon Willison's Weblog2026-11-141048 阅读💛 128 收藏

13th November 2026

Release datasette-cluster-map 0.19 — Datasette plugin that shows a map for any data with latitude/longitude columns

One of the oldest Datasette plugins, and still one of my favorites. It now works with Datasette 1.0a42, and depends on the new datasette-leaflet to ensure OpenStreetMap tiles are requested with a referrer header.

Here's a map of power plants owned by California's PG&E, also demonstrating Datasette's recently redesigned facets:

Screenshot of a faceted map interface. Three facet panels at the top: "country_long 1" with United States of America 81 selected; "owner 1" with Pacific Gas & Electric Co. 81 selected; "primary_fuel 5" listing Hydro 63, Solar 10, Gas 5, Storage 2, Nuclear 1. Each primary_fuel row has a pale blue horizontal bar behind its label, sized in proportion to its count: Hydro's bar fills most of the row width, Solar's is a short sliver, Gas's is shorter still, and Storage and Nuclear have only a thin strip at the left edge. Below is a Leaflet map with + and − zoom controls showing California and Nevada, with marker clusters across northern and central California: 9 near Redding, 21 near Chico, 2 to the west of Chico, 13 northeast of Sacramento, 7 east of Stockton, 6 at Oakland, 10 at Fresno, 9 west of Visalia, 2 north of Bakersfield, plus two individual blue pin markers on the coast, one in the far north and one north of Santa Maria. Attribution: Leaflet | © OpenStreetMap contributors

文章评论(12)

蓝归舟1 天前

作者写得真不错,学到了不少。

回复
黄小刚1 天前

这篇文章分析得很透彻,收藏了!

回复
暮拾贝1 天前

赞同,实践出真知。

回复
星观澜1 天前

写得挺用心的,支持一下。

回复
星寻梦1 天前

这个观点很中肯,深有同感。

回复
蓝问津1 天前

看标题就点进来了,内容果然没让人失望。

回复
月沐雨1 天前

看标题就点进来了,内容果然没让人失望。

回复
曹浩1 天前

看完了,收获满满,期待更多更新。

回复
南山客1 天前

实话,说的不明不白

回复
雪知秋1 天前

实话,说的不明不白

回复
青柠微凉1 天前

实话,说的不明不白

回复
青柠微凉1 天前

路过

回复