Skip to content
Cookbook

Cookbook

Task-focused techniques for customizing, composing, and exporting charts. See Examples to choose a chart type first, or Guides for concepts that span several APIs.

Annotations and labels

Call out values, ranges, trends, and individual observations.

Axes, scales, and orientation

Control domains, axis furniture, ordering, and chart direction.

Color and accessibility

Encode values with color and keep charts legible across contexts.

Layout, facets, and layers

Combine plots, coordinate scales, and explain layered series.

Statistics and uncertainty

Show estimates, uncertainty, distributions, and dense relationships.

Export and presentation

Tune chart appearance and produce output for its destination.

External and custom data

Use dataframes, numeric types, Python arrays, and custom Mojo containers.

End-to-end workflows

Whole analyses, from data to figure, that check what they claim.