Skip to main content

lacrosse: usam

import { surface } from "@sportsdataverse/sporty";
import { toSVG } from "@sportsdataverse/sporty/svg";

// arcs "svg" writes each circle as one arc command; precision 2 keeps 0.01 of a unit. Same drawing, ~8x smaller.
toSVG(surface("lacrosse", "usam"), { width: 640, arcs: "svg", precision: 2 });

Tags: surface · lacrosse · usam. All sporty examples.