UNPKG

@tanstack/charts

Version:

A chart grammar for TypeScript and JavaScript. Marks consume your data directly, channels describe visual encodings, and the engine compiles them into a renderer-neutral keyed scene. TanStack's compact scales cover common numeric and categorical mappings.

13 lines (12 loc) 236 B
function createPolarMark(initialize, motion) { if (motion === void 0) return { initialize }; return { motion, initialize(context) { return { ...initialize(context), motion }; } }; } export { createPolarMark };