observablehq / observablehq/plot

The ridgeline plot example doesn’t handle overlapping correctly

Open
#2,111 4 comments 1 reaction 1 assignee View on GitHub

@Fil is already working on this.

Since Apr 12, 2026.

bug
Dominant language
HTML
Stars
5.4k
Forks
244
PR merge metrics
No merged PRs in 30d

Description

Since 0.6.7, facets are no longer drawn as separate layers, so the lines are drawn atop all the areas.

0.6.7:
chart (11)

0.6.15:
chart (12)

We could use a custom mark to fix this that draws the line within the area mark, so that overlapping facets behave as desired. But that might be a fair amount of work?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.