<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/making-iroshizuku-interactive-with-observable-uvyrh6gty" -->

---
title: Making Iroshizuku Interactive with Observable | daily.dev
description: A personal exploration turning a small dataset of 24 Pilot Iroshizuku fountain pen ink colors into an interactive browser visualization. Using Quarto's...
canonical: https://daily.dev/posts/making-iroshizuku-interactive-with-observable-uvyrh6gty
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Making Iroshizuku Interactive with Observable | daily.dev
og:description: A personal exploration turning a small dataset of 24 Pilot Iroshizuku fountain pen ink colors into an interactive browser visualization. Using Quarto's...
og:url: https://daily.dev/posts/making-iroshizuku-interactive-with-observable-uvyrh6gty
og:image: https://api.daily.dev/og/posts/UvYrh6gtY.png
og:image:alt: Making Iroshizuku Interactive with Observable
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Making Iroshizuku Interactive with Observable

**[R-bloggers](https://daily.dev/sources/rbloggers)** · 8 min read · 3 upvotes · 0 comments

## Summary

A personal exploration turning a small dataset of 24 Pilot Iroshizuku fountain pen ink colors into an interactive browser visualization. Using Quarto's ojs_define() to hand data from R to Observable JS, the author compares two perceptual color spaces, HCL and OKLCH, letting readers sort and reposition ink swatches interactively. The post walks through the R data prep, the R-to-Observable handoff, and reflections on how R, Quarto, and Observable fit together for reactive, browser-based data exploration.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://www.r-bloggers.com/2026/08/making-iroshizuku-interactive-with-observable>

## Questions this post answers

### How do you pass data from R to Observable JS inside a Quarto document?

Quarto's ojs_define() function lets you create a data structure in R and hand it over to Observable running in the browser. The R data frame needs one small reshaping step on the Observable side, after which Observable can work with it like ordinary JavaScript data, enabling reactive, browser-side interactivity built on top of R's data preparation.

_daily.dev surfaces workflow write-ups like this for developers bridging R analysis with browser-based interactivity._

### What is the difference between HCL and OKLCH color spaces for sorting colors?

HCL and OKLCH are both perceptual color spaces describing lightness, chroma, and hue, but they are computed differently, so sorting the same set of hex colors by hue, chroma, or lightness in each space does not always produce the same order. Some colors keep similar neighbors across both spaces while others swap positions, since the numeric scales aren't directly comparable between the two systems.

_developers picking a perceptual color model for CSS or design work compare notes on daily.dev before choosing between HCL and OKLCH._

## Similar posts on daily.dev

- [A Tiny Iroshizuku Ink Shop in R](https://daily.dev/posts/a-tiny-iroshizuku-ink-shop-in-r-eqq9lte7p) · R-bloggers · 0 upvotes · 0 comments
- [Color picking Oklch for mortals – Hugo Daniel](https://daily.dev/posts/color-picking-oklch-for-mortals-hugo-daniel-x8aaghqka) · Lobsters · 0 upvotes · 0 comments
- [Iroshizuku Meets a Flow Field](https://daily.dev/posts/iroshizuku-meets-a-flow-field-li6a0e2uk) · R-bloggers · 1 upvotes · 0 comments
- [Inside HAOQI.DESIGN: Letting DOM and WebGL Share a Retro-Futurist Stage](https://daily.dev/posts/inside-haoqi-design-letting-dom-and-webgl-share-a-retro-futurist-stage-onvg2vzkk) · Codrops · 1 upvotes · 0 comments

---

Tags: [#javascript](https://daily.dev/tags/javascript), [#r](https://daily.dev/tags/r), [#data-visualization](https://daily.dev/tags/data-visualization), [#quarto](https://daily.dev/tags/quarto)

[View this post on daily.dev](https://daily.dev/posts/making-iroshizuku-interactive-with-observable-uvyrh6gty)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Making Iroshizuku Interactive with Observable","url":"https://daily.dev/posts/making-iroshizuku-interactive-with-observable-uvyrh6gty","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/making-iroshizuku-interactive-with-observable-uvyrh6gty"},"datePublished":"2026-08-30T01:57:12.405Z","dateModified":"2026-09-14T07:45:26.805Z","description":"A personal exploration turning a small dataset of 24 Pilot Iroshizuku fountain pen ink colors into an interactive browser visualization. Using Quarto's...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/c75ac5729c87ccf795714064ac774dc4?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/c75ac5729c87ccf795714064ac774dc4?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"R-bloggers","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"R-bloggers","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/98bcbbdf72774292a55ceda8f2277f1e","url":"https://daily.dev/sources/rbloggers"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/making-iroshizuku-interactive-with-observable-uvyrh6gty","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":3},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"javascript,r,data-visualization,quarto","timeRequired":"PT8M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"R-bloggers","item":"https://daily.dev/sources/rbloggers"},{"@type":"ListItem","position":3,"name":"Making Iroshizuku Interactive with Observable"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/making-iroshizuku-interactive-with-observable-uvyrh6gty#faq","mainEntity":[{"@type":"Question","name":"How do you pass data from R to Observable JS inside a Quarto document?","acceptedAnswer":{"@type":"Answer","text":"Quarto's ojs_define() function lets you create a data structure in R and hand it over to Observable running in the browser. The R data frame needs one small reshaping step on the Observable side, after which Observable can work with it like ordinary JavaScript data, enabling reactive, browser-side interactivity built on top of R's data preparation. daily.dev surfaces workflow write-ups like this for developers bridging R analysis with browser-based interactivity."}},{"@type":"Question","name":"What is the difference between HCL and OKLCH color spaces for sorting colors?","acceptedAnswer":{"@type":"Answer","text":"HCL and OKLCH are both perceptual color spaces describing lightness, chroma, and hue, but they are computed differently, so sorting the same set of hex colors by hue, chroma, or lightness in each space does not always produce the same order. Some colors keep similar neighbors across both spaces while others swap positions, since the numeric scales aren't directly comparable between the two systems. developers picking a perceptual color model for CSS or design work compare notes on daily.dev before choosing between HCL and OKLCH."}}]}
```

