Skip to main content

lacrosse: nll

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", "nll"), { width: 640, arcs: "svg", precision: 2 });

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