---
title: "Exploring Art with TypeScript, Jupyter, Polars, and Observable Plot"
description: "Deno's built-in Jupyter kernel brings TypeScript to notebook-based data analysis, demonstrated by exploring the National Gallery of Art's 130,000-work Open Access dataset."
url: "https://swe.quest/articles/exploring-art-with-typescript-jupyter-polars-and-observable-plot-03b617a6f10d0da6"
canonical: "https://deno.com/blog/exploring-art-with-typescript-and-jupyter"
source: "Deno"
published: "2025-04-01"
difficulty: "medium"
kind: "How-to"
reading_minutes: 17
tags: ["typescript","analytics","developer-tools"]
---

# Exploring Art with TypeScript, Jupyter, Polars, and Observable Plot

A post on [Deno](https://swe.quest/sources/deno.md), published 2025-04-01, 17 min read, How-to. Original: [https://deno.com/blog/exploring-art-with-typescript-and-jupyter](https://deno.com/blog/exploring-art-with-typescript-and-jupyter)

## Summary

Deno's built-in Jupyter kernel brings TypeScript to notebook-based data analysis, demonstrated by exploring the National Gallery of Art's 130,000-work Open Access dataset. CSVs are loaded with jsr:@std/csv and nodejs-polars, the relational tables are joined into one DataFrame, and a public-domain flag is derived from IDs pulled via a reverse-engineered NGA search endpoint. Observable Plot renders the charts through a custom document shim from jupyter-helper. Later sections add anywidget DataFrame viewers and a custom gallery component for interactive drill-down. Key practical points are that Polars' columnar, chainable API replaces hand-written row loops, and that inline npm/jsr imports keep notebooks reproducible.

Written by swe.quest, not by the author.

**Difficulty:** Medium: assumes a working developer; shows how it is built or done

## Topics

- [TypeScript](https://swe.quest/tags/typescript.md) (Languages)
- [Analytics & OLAP](https://swe.quest/tags/analytics.md) (Data & databases)
- [Developer tools](https://swe.quest/tags/developer-tools.md) (Engineering practices)

## Prerequisites

- TypeScript basics ([easy posts on TypeScript](https://swe.quest/tags/typescript.md?difficulty=easy))
- DataFrame concepts
- Jupyter notebooks

## Keywords

Deno, Jupyter, Polars, Observable Plot, anywidget, National Gallery of Art, IIIF

## Related posts

- [Build your own Web Analytics Dashboard with Turso and Bolt](https://swe.quest/articles/build-your-own-web-analytics-dashboard-with-turso-and-bolt-74317d9f01cee8fc.md): Turso · 2024-12-03 · Medium · 4 min read · AI for coding, SQLite, Frontend, Analytics & OLAP
  Bolt can generate a Next.js 14 web analytics dashboard backed by a Turso database when you feed it the database schema and a detailed requirements prompt.
- [Interactively explore your Huggingface dataset with one line of code](https://swe.quest/articles/interactively-explore-your-huggingface-dataset-with-one-line-of-code-be90cdc319132a31.md): Hugging Face · 2023-10-25 · Medium · 5 min read · Machine learning, Python, Developer tools, Computer vision
  Renumics Spotlight builds interactive visualizations directly on top of Hugging Face datasets, inferring data types and label mappings so a single spotlight.show(ds) call opens an inspection UI.
- [Deno 1.37: Modern JavaScript in Jupyter Notebooks](https://swe.quest/articles/deno-1-37-modern-javascript-in-jupyter-notebooks-9c49710b720f14e4.md): Deno · 2023-09-20 · Medium · 14 min read · JavaScript, TypeScript, Developer tools, Testing, Runtimes & VMs
  Deno 1.37 adds a built-in Jupyter kernel via \`deno jupyter --unstable\`, letting notebooks run modern JavaScript and TypeScript with access to Deno APIs, npm modules such as D3, rich output through \`Symbol.for("Jupyter.display")\`, and live Deno KV data.
- [Instrumenting your NextJS application with OpenTelemetry and ClickStack](https://swe.quest/articles/instrumenting-your-nextjs-application-with-opentelemetry-and-clickstack-d85c0f4f10071552.md): ClickHouse · 2025-09-04 · Medium · 17 min read · Observability, JavaScript, React, Analytics & OLAP
  ClickPy, a Next.js app over ClickHouse serving 1.8 trillion rows of PyPI download data, is instrumented with OpenTelemetry via ClickStack (ClickHouse, HyperDX and an OTel collector) to capture browser sessions and distributed traces.
- [Building A User-Facing Dashboard With ClickHouse and Luzmo](https://swe.quest/articles/building-a-user-facing-dashboard-with-clickhouse-and-luzmo-7ab453a27b3a5bc7.md): ClickHouse · 2024-07-17 · Medium · 11 min read · Analytics & OLAP, Multi-tenancy, Identity & auth, Frontend
  A user-facing analytics dashboard for a property management app can be built by pairing ClickHouse as the columnar analytical store with Luzmo for embedded visualizations, using the UK house price dataset from the ClickHouse Playground.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
