Skip to content

Commit

Permalink
docs: add eco to README
Browse files Browse the repository at this point in the history
  • Loading branch information
pearmini committed Nov 16, 2023
1 parent 44188f7 commit 51efbc5
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 5 deletions.
17 changes: 12 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,11 +70,11 @@ const chart = new Chart({

// Specify visualization.
chart
.interval() // Create an interval mark and add it to the chart.
.data(data) // Bind data for this mark.
.encode('x', 'genre') // Assign genre column to x position channel.
.encode('y', 'sold') // Assign sold column to y position channel.
.encode('color', 'genre'); // Assign genre column to color channel.
.interval() // Create an interval mark and add it to the chart.
.data(data) // Bind data for this mark.
.encode('x', 'genre') // Assign genre column to x position channel.
.encode('y', 'sold') // Assign sold column to y position channel.
.encode('color', 'genre'); // Assign genre column to color channel.

// Render visualization.
chart.render();
Expand All @@ -84,6 +84,13 @@ If all goes well, you can get the following lovely bar chart!

<img src="https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*XqCnTbkpAkQAAAAAAAAAAAAADmJ7AQ/fmt.webp" width="640" alt="example">

## 🌍 Ecosystem

- [@berryv/g2-react](https://github.com/pearmini/g2-react) - G2 的轻量级 React 组件,没有额外特性。
- [@antv/g2-extensions](https://github.com/antvis/g2-extensions) - G2 的一系列插件库,包含 3D 和智能可视化等。
- [@antd/charts](https://github.com/ant-design/ant-design-charts) - React 的图表库,基于 [G2](https://github.com/antvis/G2), [G6](https://github.com/antvis/G6), [X6](https://github.com/antvis/X6), [L7Plot](https://github.com/antvis/L7Plot).
- [更多...](https://github.com/antvis/G2/discussions/5772)

## 📮 Contributing

- [Issues](https://github.com/antvis/g2/issues) - report bugs or request features
Expand Down
7 changes: 7 additions & 0 deletions README.zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,13 @@ chart.render();

<img src="https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*XqCnTbkpAkQAAAAAAAAAAAAADmJ7AQ/fmt.webp" width="640" alt="example">

## 🌍 生态

- [@berryv/g2-react](https://github.com/pearmini/g2-react) - The lightweight react component for G2, without extra features.
- [@antv/g2-extensions](https://github.com/antvis/g2-extensions) - The one-stop shop for official G2 extensions, such as 3d visualization, automated visual analytics, etc.
- [@antd/charts](https://github.com/ant-design/ant-design-charts) - The React chart library, based on [G2](https://github.com/antvis/G2), [G6](https://github.com/antvis/G6), [X6](https://github.com/antvis/X6), [L7Plot](https://github.com/antvis/L7Plot).
- [More...](https://github.com/antvis/G2/discussions/5772)

## 📮 参与贡献

- [问题](https://github.com/antvis/g2/issues): 报告 bug 或者提出需求
Expand Down

0 comments on commit 51efbc5

Please sign in to comment.