<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/a-tiny-iroshizuku-ink-shop-in-r-eqq9lte7p" -->

---
title: A Tiny Iroshizuku Ink Shop in R | daily.dev
description: A fun R data visualization project turns a hand-curated palette of 24 Pilot Iroshizuku fountain pen ink colors into a small dataset, then sorts them...
canonical: https://daily.dev/posts/a-tiny-iroshizuku-ink-shop-in-r-eqq9lte7p
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: A Tiny Iroshizuku Ink Shop in R | daily.dev
og:description: A fun R data visualization project turns a hand-curated palette of 24 Pilot Iroshizuku fountain pen ink colors into a small dataset, then sorts them...
og:url: https://daily.dev/posts/a-tiny-iroshizuku-ink-shop-in-r-eqq9lte7p
og:image: https://api.daily.dev/og/posts/EQQ9lTE7P.png
og:image:alt: A Tiny Iroshizuku Ink Shop in R
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.

# A Tiny Iroshizuku Ink Shop in R

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

## Summary

A fun R data visualization project turns a hand-curated palette of 24 Pilot Iroshizuku fountain pen ink colors into a small dataset, then sorts them perceptually using HCL color space via the colorspace package, and renders them as a whimsical illustration of a Japanese stationery shop using ggplot2's geom_rect(). Includes a table of ink names, meanings, hex values, and HCL coordinates.

## 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/a-tiny-iroshizuku-ink-shop-in-r>

## Questions this post answers

### How can I sort a set of hex colors so they appear in a perceptually natural order in R?

Convert hex colors to HCL (Hue, Chroma, Luminance) coordinates using the colorspace package's hex2RGB and polarLUV conversion, then arrange by hue (optionally rotated to start near a chosen color like blue-teal), followed by descending luminance and chroma. HCL better reflects human color perception than raw RGB, producing a visually coherent sequence for palettes like a 24-color fountain pen ink set.

_Developers building custom color palettes in R can find similar visualization walkthroughs on daily.dev._

## Similar posts on daily.dev

- [Making Iroshizuku Interactive with Observable](https://daily.dev/posts/making-iroshizuku-interactive-with-observable-uvyrh6gty) · R-bloggers · 3 upvotes · 0 comments
- [Iroshizuku Meets a Flow Field](https://daily.dev/posts/iroshizuku-meets-a-flow-field-li6a0e2uk) · R-bloggers · 1 upvotes · 0 comments
- [Creating a Color Palette from an Image — Amanda Hinton](https://daily.dev/posts/creating-a-color-palette-from-an-image-amanda-hinton-xk9e9debm) · Hacker News · 0 upvotes · 0 comments

---

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

[View this post on daily.dev](https://daily.dev/posts/a-tiny-iroshizuku-ink-shop-in-r-eqq9lte7p)

```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":"A Tiny Iroshizuku Ink Shop in R","url":"https://daily.dev/posts/a-tiny-iroshizuku-ink-shop-in-r-eqq9lte7p","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/a-tiny-iroshizuku-ink-shop-in-r-eqq9lte7p"},"datePublished":"2026-08-16T08:55:06.219Z","dateModified":"2026-09-14T06:30:30.679Z","description":"A fun R data visualization project turns a hand-curated palette of 24 Pilot Iroshizuku fountain pen ink colors into a small dataset, then sorts them...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/e66516b137c2198e13c1655450b74563?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/e66516b137c2198e13c1655450b74563?_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/a-tiny-iroshizuku-ink-shop-in-r-eqq9lte7p","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"r,data-visualization","timeRequired":"PT5M"}
{"@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":"A Tiny Iroshizuku Ink Shop in R"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/a-tiny-iroshizuku-ink-shop-in-r-eqq9lte7p#faq","mainEntity":[{"@type":"Question","name":"How can I sort a set of hex colors so they appear in a perceptually natural order in R?","acceptedAnswer":{"@type":"Answer","text":"Convert hex colors to HCL (Hue, Chroma, Luminance) coordinates using the colorspace package's hex2RGB and polarLUV conversion, then arrange by hue (optionally rotated to start near a chosen color like blue-teal), followed by descending luminance and chroma. HCL better reflects human color perception than raw RGB, producing a visually coherent sequence for palettes like a 24-color fountain pen ink set. Developers building custom color palettes in R can find similar visualization walkthroughs on daily.dev."}}]}
```

