Chart.xkcd 2.0

chart.xkcd examples

Chart.xkcd is a hand-drawn style chart library I built in 2019, primarily inspired by xkcd comics.

It was originally made for star-history — in that context, people viewing charts care less about exact values and more about the overall trend. I needed a chart library that de-emphasizes precise numbers and focuses on trends, so I built this tool.

Time flies — that was 7 years ago. Despite infrequent updates, I'm glad to see it's still widely used:

Recently, while working on a new project, I needed this library again — only to find some dependencies had security vulnerabilities and new chart types hadn't been released. So I spent a few days working with Claude Code to update chart.xkcd.

What's New in 2.0

  1. Fixed security vulnerabilities and upgraded dependencies
  2. Added Combined chart
Combined chart
  1. Reduced npm package size
  2. Improved the example page — all charts on one page

Links

Give it a try!

Back to List