headshotMarker
import { ScatterChart } from "@mui/x-charts/ScatterChart";
import { headshotMarker } from "@sportsdataverse/sdvplot/mui";
<ScatterChart
width={400}
height={300}
series={[{ data: [{ x: 3928, y: 26 }], markerSize: 20 }]}
slots={{ marker: headshotMarker({ league: "nfl", players: ["3139477"] }) }}
/>;
Tags: docstring · headshotMarker. All sdvplot examples.