Function brush

  • Create a new two-dimensional brush.

    The generic "Datum" refers to the type of the data of the selected svg:g element to which the returned BrushBehavior will be applied.

    Type Parameters

    • Datum

    Returns BrushBehavior<Datum>