UNPKG

@visactor/vchart

Version:

charts lib based @visactor/VGrammar

12 lines (10 loc) 343 B
import { SunburstLayout } from "@visactor/vlayouts"; export const sunburstLayout = (data, op) => { if (!data) return data; const options = op(), {width: width, height: height} = options; return new SunburstLayout(options).layout(data, { width: width, height: height }); }; //# sourceMappingURL=sunburst.js.map