Skip to content

[rug-basic] Basic Rug Plot #978

@MarkusNeusinger

Description

@MarkusNeusinger

Description

A rug plot displays individual data points as small tick marks along an axis, typically at the bottom or side of another plot. It shows the actual data distribution without binning, complementing histograms, density plots, or scatter plots.

Key Features

  • Small vertical or horizontal ticks for each observation
  • Shows exact data point locations
  • Reveals clustering and gaps in data
  • Minimal visual footprint, perfect as supplement to other plots

Applications

  • Showing underlying data in density/histogram plots
  • Revealing data concentration and gaps
  • Displaying marginal distributions in scatter plots
  • Identifying potential outliers at distribution edges

Data Requirements

  • values (numeric) - Continuous variable
  • Size: Works with any sample size (5 to 1000+ observations)

Visual Elements

  • Short tick marks along axis edge
  • Consistent tick height/width
  • Semi-transparent for overlapping observations
  • Positioned along x-axis, y-axis, or both

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions