
Research
/Security News
Weaponizing Discord for Command and Control Across npm, PyPI, and RubyGems.org
Socket researchers uncover how threat actors weaponize Discord across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.
@antv/ckb
Advanced tools
English | 简体中文
Chart Knowledge Base (CKB)
AVA/knowledgeChart Knowledge Base (CKB) is a library offers knowledge base for chart wikis in a JSON format. The JSON is like this:
{
line_chart: {
id: 'line_chart',
name: 'Line Chart',
alias: ['Lines'],
family: ['LineCharts'],
def: 'A line chart uses lines with segments to show changes in data in a ordinal dimension.',
purpose: ['Comparison', 'Trend', 'Anomaly'],
coord: ['Cartesian2D'],
category: ['Statistic'],
shape: ['Lines'],
dataPres: [
{ minQty: 1, maxQty: 1, fieldConditions: ['Time', 'Ordinal'] },
{ minQty: 0, maxQty: 1, fieldConditions: ['Nominal'] },
{ minQty: 1, maxQty: 1, fieldConditions: ['Interval'] },
],
channel: ['Position', 'Direction'],
recRate: 'Recommended',
},
...
}
The contribution of the whole data visualization community makes this library a standard. You don't have to struggle with different names or alias or definition of a same chart type.
With AVA/CKB, you can quickly build your chart dictionary product like this: ChartCube
You can easily build a chart type recommendation system with this knowledge base and your customized rules.
$ npm install @antv/ckb
import { CKBJson } from '@antv/ckb';
// Knowledage base for all charts in English.
const knowledgeBase = CKBJson();
// Knowledage base for completed charts in Chinese.
const zhCompletedKB = CKBJson('zh-CN', true);
// ../../docs/api/knowledge.md does not exist
We welcome all contributions. Please read General Contribution Guide and Contribution Guide for AVA/CKB first.
You can submit any ideas as pull requests or as GitHub issues. Let's build a better AVA together.
MIT
ChartCube - Online chart making tool based on G2Plot.
FAQs
Chart Knowledge Base
The npm package @antv/ckb receives a total of 174 weekly downloads. As such, @antv/ckb popularity was classified as not popular.
We found that @antv/ckb demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 64 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
/Security News
Socket researchers uncover how threat actors weaponize Discord across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.
Security News
Socket now integrates with Bun 1.3’s Security Scanner API to block risky packages at install time and enforce your organization’s policies in local dev and CI.
Research
The Socket Threat Research Team is tracking weekly intrusions into the npm registry that follow a repeatable adversarial playbook used by North Korean state-sponsored actors.