@antv/attr
v0.3.5 antv attr g2 f2
@antv/attr
Mapping data to visual AES.
Installing
npm install @antv/attr
Usage
import { getAttribute } from '@antv/adjust';
// contains Color, Opacity, Position, Shape, Size
const Color = getAttribute('color');
const color = new Color({/* ... */});
// mapping data to color
const r = color.mapping('杭州');
License
MIT
npm i @antv/attr
Metadata
- MIT
- Whatever
- https://github.com/orgs/antvis/people
- released 3/23/2023
Downloads
Maintainers
yisi.wang, basketduck, biupiubiupiu, flash1, dreammy23, laixingui.lxg, zhangjunjie-loki, rainy25ghz, zeyuwang, yanxiong, susiwen8, freestyle21, soundquiet, elaine.q.10, sturuby, lviser, sakuya223, serializedowen, xdzhao, yangzhanmei, wjgogogo, leungwensen, dori, iaaron, yard, simaq, dxq613, intchous, susan_ann, jinke.li, lzxue, army8735, atool, baizn, dengfuping, neoddish, jeffy2012, zqlu, afc163, pomelo-nwu, kopiluwaky, ccnuzindex, panyuqi, bubkoo, zengyue, kasmine, boyu.zlj, l1ud0ngq1, newbyvector, winniexing, chenluli, kn9117, xdddst, semious2020, esora, nadia_liu, bbsqq, mxz96102, openwayne, pearmini, pddpd, yiqianyao, zhanba, cxxxxxn,