S2/README.en-US.md at master · antvis/S2 · GitHub
source link: https://github.com/antvis/S2/blob/master/README.en-US.md
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
简体中文 | English
A practical visualization library for tabular analysis.
S2 is a solution in multi-dimensional cross-analysis tables, which provides data-driven analysis table components. It supplements multi-dimensional analysis tables in the industry. By providing the core library, essential components, demo components and expansion capabilities, it allows developers to use it quickly and freely.
Homepage
Features
- Multi-dimensional cross-analysis: Say goodbye to a single analysis dimension and fully embrace the free combination analysis of any dimension.
- High performance: It can support rendering in less than 8s under the total amount of millions of data and achieve second-level rendering through partial drilling.
- High scalability: Support any custom extensions (including but not limited to layout, style, interaction, data hook flow, etc.).
- Out of the box: Provide out-of-the-box
React
andVue3
table components and supporting analysis components in different analysis scenarios. You only need a simple configuration to realize the table rendering of complex scenes quickly. - High interaction: support rich interaction forms (single selection, circle selection, row selection, column selection, freeze line header, width and height dragging, custom interaction, etc.)
Installation
$ npm install @antv/s2
# yarn add @antv/s2
Getting Started
1. Data Preparation
s2DataConfig
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
2. Options Preparation
const s2Options = {
width: 600,
height: 600,
}
3. Component Rendering
<div id="container"></div>
import { PivotSheet } from '@antv/s2';
const container = document.getElementById('container');
const s2 = new PivotSheet(container, s2DataCfg, s2Options);
s2.render();
4. Preview
Packages
Author
Contributing
Contributions, issues and feature requests are welcome. Feel free to check issues page if you want to contribute.
git clone [email protected]:antvis/S2.git
cd S2
yarn # or yarn bootstrap
# build all
yarn build
# debug s2-core
yarn core:start
# debug s2-react
yarn react:playground
# debug s2-vue
yarn vue:playground
# unit test
yarn test
# check the code style and the type definition
yarn lint
# start the website
yarn site:bootstrap
yarn site:start
Insight
Contact Us
Contributors
License
MIT@AntV.
Recommend
-
231
35 lines (22 sloc) 746 Bytes speed-test Test your internet connection speed and ping using
-
227
A Vue.js project 效果预览: 源码地址:
-
171
English | 简体中文 G2 一套面向常规统计图表,以数据驱动的高交互可视化图形语法。
-
193
gost - A Simple Tool of Go to help you manage GOPATHs and run Go commands.
-
128
dekuan/dedid 一种为分布式数据库而设计的全局唯一 ID(主键)生成器。 本算法的实现参考了 Twitter Snowflake,但是在最后的 12 位您不仅仅可以使用随机数字,也可以通过指定字符串来获取哈希值。
-
149
Permalink master...
-
148
erpc-doc/README.md at master · andeya/erpc-doc · GitHub
-
41
README.md F2: 基于 HTML5 Canvas,开箱即用的移动端可视化解决方案
-
10
JavaScript diagramming library that uses SVG and HTML for rendering. Features easy-to-customize: based on...
-
1
分析大佬所写的代码有助于个人成长。今天来分析学习一下G的内部实现 版本为
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK