Simon Willison’s Weblog

Subscribe

Tuesday, 24th November 2020

Datasette Client for Observable (via) Really elegant piece of code design from Alex Garcia: DatasetteClient is a client library he built designed to work in Observable notebooks, which uses JavaScript tagged template literals to allow SQL query results to be executed against a Datasette instance and displayed as inline tables in a notebook, or used to return JSON data for further processing. His example notebook includes a neat d3 stacked area chart example built against a Datasette of congresspeople, plus examples using interactive widgets to update the Notebook.

# 6:53 pm / javascript, datasette, observable, alex-garcia

2020 » November

MTWTFSS
      1
2345678
9101112131415
16171819202122
23242526272829
30