All Projects → antvis → S2

antvis / S2

Licence: MIT license
⚡️ Practical analytical Table rendering core lib.

Programming Languages

typescript
32286 projects
Vue
7211 projects

Projects that are alternatives of or similar to S2

React Datasheet
Excel-like data grid (table) component for React
Stars: ✭ 4,866 (+494.87%)
Mutual labels:  table, spreadsheet, sheet
PivotHelper
PivotHelper is a utility web app that generates Pivot tables and charts from CSV files and Microsoft Excel spreadsheets.
Stars: ✭ 26 (-96.82%)
Mutual labels:  spreadsheet, pivot-tables, pivot-grid
Jqgrid
jQuery grid plugin
Stars: ✭ 2,803 (+242.67%)
Mutual labels:  table, pivot-tables, pivot-grid
React Virtualized Pivot
React Virtualized Pivot
Stars: ✭ 95 (-88.39%)
Mutual labels:  table, pivot-tables
Vue Handsontable Official
Vue Data Grid with Spreadsheet Look & Feel. Official Vue wrapper for Handsontable.
Stars: ✭ 751 (-8.19%)
Mutual labels:  table, spreadsheet
Puregrid
Lightweight JavaScript Grid/SpreadSheet component written in pure JavaScript
Stars: ✭ 10 (-98.78%)
Mutual labels:  table, spreadsheet
Grid
Declarative React Canvas Grid primitive for Data table, Pivot table, Excel Worksheets and more 💥
Stars: ✭ 573 (-29.95%)
Mutual labels:  table, spreadsheet
Hot Table
Handsontable - Best Data Grid Web Component with Spreadsheet Look and Feel.
Stars: ✭ 114 (-86.06%)
Mutual labels:  table, spreadsheet
Angular Handsontable
Angular Data Grid with Spreadsheet Look & Feel. Official Angular wrapper for Handsontable.
Stars: ✭ 175 (-78.61%)
Mutual labels:  table, spreadsheet
react-bolivianite-grid
React grid component for virtualized rendering large tabular data.
Stars: ✭ 95 (-88.39%)
Mutual labels:  table, spreadsheet
react-datasheet-grid
An Airtable-like / Excel-like component to create beautiful spreadsheets.
Stars: ✭ 227 (-72.25%)
Mutual labels:  table, spreadsheet
Sheetjs
📗 SheetJS Community Edition -- Spreadsheet Data Toolkit
Stars: ✭ 28,479 (+3381.54%)
Mutual labels:  table, spreadsheet
Ce
Jspreadsheet is a lightweight vanilla javascript plugin to create amazing web-based interactive tables and spreadsheets compatible with other spreadsheet software.
Stars: ✭ 5,832 (+612.96%)
Mutual labels:  table, spreadsheet
React Spreadsheet Grid
An Excel-like grid component for React with custom cell editors, performant scroll & resizable columns
Stars: ✭ 996 (+21.76%)
Mutual labels:  table, spreadsheet
React Handsontable
React Data Grid with Spreadsheet Look & Feel. Official React wrapper for Handsontable.
Stars: ✭ 511 (-37.53%)
Mutual labels:  table, spreadsheet
Importabular
5kb spreadsheet editor for the web, let your users import their data from excel.
Stars: ✭ 129 (-84.23%)
Mutual labels:  table, spreadsheet
web-pivot-table
A feature-rich JS pivot grid library for creating interactive reports. Integrates with any front-end technology
Stars: ✭ 35 (-95.72%)
Mutual labels:  pivot-tables, pivot-grid
Reactgrid
Add spreadsheet-like behavior to your React app
Stars: ✭ 289 (-64.67%)
Mutual labels:  table, spreadsheet
Nghandsontable
Official AngularJS directive for Handsontable
Stars: ✭ 438 (-46.45%)
Mutual labels:  table, spreadsheet
pivot-react
Integration of Flexmonster Pivot Table & Charts with React framework
Stars: ✭ 23 (-97.19%)
Mutual labels:  pivot-tables, pivot-grid

简体中文 | English

S2

数据驱动的多维分析表格。

npm Version Version ci test status Coverage release-date

npm bundle size Discussions issues-helper License: MIT@AntV

S2 是 AntV 在多维交叉分析表格领域的解决方案,完全基于数据驱动的方式。通过提供底层能力库,基础组件,业务场景组件以及自由扩展的能力,让开发者基于自身场景自由选择,既能开箱即用,又能自由发挥。

🏠 官网

homepage

特性

  1. 多维交叉分析: 告别单一分析维度,全面拥抱任意维度的自由组合分析。
  2. 高性能:能支持全量百万数据下 <8s 渲染,也能通过局部下钻来实现秒级渲染。
  3. 高扩展性:支持任意的自定义扩展(包括但不局限于布局,样式,交互,数据 hook 流等)。
  4. 开箱即用:提供不同分析场景下开箱即用的 React, Vue3 版本表组件及配套分析组件,只需要简单的配置即可轻松实现复杂场景的表渲染。
  5. 可交互:支持丰富的交互形式(单选、圈选、行选、列选、冻结行头、宽高拖拽,自定义交互等)

📦 安装

$ npm install @antv/s2
# yarn add @antv/s2

🔨 使用

1. 数据准备

s2DataConfig
const s2DataConfig = {
  fields: {
    rows: ['province', 'city'],
    columns: ['type'],
    values: ['price'],
  },
  data: [
     {
      province: '浙江',
      city: '杭州',
      type: '笔',
      price: '1',
    },
    {
      province: '浙江',
      city: '杭州',
      type: '纸张',
      price: '2',
    },
    {
      province: '浙江',
      city: '舟山',
      type: '笔',
      price: '17',
    },
    {
      province: '浙江',
      city: '舟山',
      type: '纸张',
      price: '0.5',
    },
    {
      province: '吉林',
      city: '长春',
      type: '笔',
      price: '8',
    },
    {
      province: '吉林',
      city: '白山',
      type: '笔',
      price: '9',
    },
    {
      province: '吉林',
      city: '长春',
      type: ' 纸张',
      price: '3',
    },
    {
      province: '吉林',
      city: '白山',
      type: '纸张',
      price: '1',
    },
  ],
};

2. 配置项准备

const s2Options = {
  width: 600,
  height: 600,
}

3. 渲染

<div id="container"></div>
import { PivotSheet } from '@antv/s2';

const container = document.getElementById('container');

const s2 = new PivotSheet(container, s2DataConfig, s2Options);

s2.render();

4. 结果

result

📦 Packages

Package Latest Beta Alpha Size Download
@antv/s2 latest beta alpha size download
@antv/s2-react latest beta alpha size download
@antv/s2-vue latest beta alpha size download

👤 Author

@AntV

🤝 参与贡献

git clone [email protected]:antvis/S2.git

cd S2

# 安装依赖
yarn # 或者 yarn bootstrap

# 打包
yarn build

# 调试 s2-core
yarn core:start

# 调试 s2-react
yarn react:playground

# 调试 s2-vue
yarn vue:playground

# 单元测试
yarn test

# 代码风格和类型检测
yarn lint

# 本地启动官网
yarn site:bootstrap
yarn site:start

📧 联系我们

S2

👬 Contributors

https://github.com/antvis/s2/graphs/contributors

📄 License

MIT@AntV

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].