👏🏻👏🏻👏🏻 收集 G2 生态周边仓库 Collecting G2 related projects #5772
Replies: 10 comments 11 replies
-
g2-react: The lightweight React component for @antv/g2. import React from "react";
import { Chart } from "@berryv/g2-react";
export function Demo() {
return (
<Chart
options={{
type: "interval",
width: 640,
height: 480,
data: [
{ genre: "Sports", sold: 275 },
{ genre: "Strategy", sold: 115 },
{ genre: "Action", sold: 120 },
{ genre: "Shooter", sold: 350 },
{ genre: "Other", sold: 150 },
],
encode: { x: "genre", y: "sold" },
}}
/>
);
} |
Beta Was this translation helpful? Give feedback.
-
Ant Design Charts: AntV react component library import { Bar } from '@ant-design/plots';
const data = [
{ year: '1951 年', value: 38 },
{ year: '1952 年', value: 52 },
{ year: '1956 年', value: 61 },
{ year: '1957 年', value: 145 },
{ year: '1958 年', value: 48 },
];
const DemoBar = () => {
const config = {
data,
xField: 'year',
yField: 'value',
colorField: 'year',
};
return <Bar {...config} />;
}; |
Beta Was this translation helpful? Give feedback.
-
https://github.com/lloydzhou/g2x
|
Beta Was this translation helpful? Give feedback.
-
https://github.com/lloydzhou/g2v 前面g2x的vue版本
|
Beta Was this translation helpful? Give feedback.
-
一个 G2 的复合 Mark:https://github.com/pearmini/g2-tiny-bar |
Beta Was this translation helpful? Give feedback.
-
G2 的 SSR 工具:https://github.com/pearmini/g2-ssr-node |
Beta Was this translation helpful? Give feedback.
-
之前群里提到的 BizCharts |
Beta Was this translation helpful? Give feedback.
-
pyg2:A grammar of graphics python library for jupyter notebooks based on G2. 即将升级 ThamaluM/pyG2#4 |
Beta Was this translation helpful? Give feedback.
-
streamlit-g2: A visualization grammar based on G2 for streamlit. DEMO import streamlit as st
from streamlit_g2 import g2
options = {
"type": "interval",
"data": [
{ "genre": 'Sports', "sold": 275 },
{ "genre": 'Strategy', "sold": 115 },
{ "genre": 'Action', "sold": 120 },
{ "genre": 'Shooter', "sold": 350 },
{ "genre": 'Other', "sold": 150 },
],
"encode": {
"x": "genre",
"y": "sold",
"color": "genre",
}
}
g2(options=options, style=None, key="streamlit_g2") APINow, There is only one API for
|
Beta Was this translation helpful? Give feedback.
-
https://github.com/GOUYONGCHAO/g2r 基于蚂蚁的antv g2 开发R包,可以快速使用g2画图 |
Beta Was this translation helpful? Give feedback.
-
只要是和 AntV G2 相关的开源项目,都可以回帖,等仓库超过 10 个,我们就在 G2 官网开一个页面为大家带来开发者。
包含且不限于:
期望大家一起,让数据可视化社区活跃起来 🔥🔥🔥🔥🔥,当然也可以在这里提出一些想法,组团来实现!
Beta Was this translation helpful? Give feedback.
All reactions