transform.js 504 B

1234567891011121314
  1. "use strict";
  2. Object.defineProperty(exports, "__esModule", { value: true });
  3. exports.Transform = void 0;
  4. /**
  5. * Extract a column of data with specified map function from data.
  6. * Each datum in the array is not visual data by default.
  7. * Specifying identity scale for related channel explicitly will treat them as visual data.
  8. */
  9. const Transform = ({ value }) => {
  10. return (data) => data.map(value);
  11. };
  12. exports.Transform = Transform;
  13. exports.Transform.props = {};
  14. //# sourceMappingURL=transform.js.map