code: def jitter(
      field_name: str,
      width: float,
      mean: float = 0,
      distribution: JitterRandomDistributionType = "uniform",
      range: Range | None = None,
  ) -> Field:
      """Create a ``DataSpec`` dict that applies a client-side ``Jitter``
      transformation to a ``ColumnDataSource`` column.
  
      Args:
          field_name (str) : a field name to configure ``DataSpec`` with
  
          width (float) : the width of the random distribution to apply
  
          mean (float, optional) : an offset to apply (default: 0)
  
          distribution (str, optional) : ``"uniform"`` or ``"normal"``
              (default: ``"uniform"``)
  
          range (Range, optional) : a range to use for computing synthetic
              coordinates when necessary, e.g. a ``FactorRange`` when the
              column data is categorical (default: None)
  
      Returns:
          Field
  
      """
      return Field(
          field_name,
          Jitter(
              mean=mean,
              width=width,
              distribution=distribution,
              range=range,
          ),
      )
  
file_path: bokeh/src/bokeh/transform.py
imports: from __future__ import annotations
  import logging
  from typing import TYPE_CHECKING, Sequence, Union
  from .core.property.vectorization import Expr, Field
  from .models.expressions import CumSum, Stack
  from .models.mappers import CategoricalColorMapper, CategoricalMarkerMapper, CategoricalPatternMapper, EqHistColorMapper, LinearColorMapper, LogColorMapper
  from .models.transforms import Dodge, Jitter
label_desc: Use image node_id 7 for calling a global function with example usage: jitter(field_name, width, mean, distribution, range) and returns: Field