Skip to content

Commit 9e1410c

Browse files
committed
docs: set default lang=zh in readme
1 parent d879ad1 commit 9e1410c

File tree

2 files changed

+74
-74
lines changed

2 files changed

+74
-74
lines changed

README.zh-CN.md renamed to README.en-US.md

+32-42
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
<img src="https://gw.alipayobjects.com/zos/antfincdn/R8sN%24GNdh6/language.svg" width="18"> [English](./README.md) | 简体中文
1+
<img src="https://gw.alipayobjects.com/zos/antfincdn/R8sN%24GNdh6/language.svg" width="18"> English | [简体中文](./README.md)
22

33
<h1 align="center">G2Plot</h1>
44

55
<div align="center">
66

7-
基于图形语法(the Grammar of Graphics)的图表库。
7+
A charting library based on the Grammar of Graphics.
88

99
[![Version](https://badgen.net/npm/v/@antv/g2plot)](https://npmjs.com/@antv/g2plot)
1010
[![NPM downloads](https://img.shields.io/npm/dm/@antv/g2plot.svg)](https://npmjs.com/@antv/g2plot)
@@ -15,61 +15,51 @@
1515
[![Average time to resolve an issue](http://isitmaintained.com/badge/resolution/antvis/g2plot.svg)](http://isitmaintained.com/project/antvis/g2plot "Average time to resolve an issue")
1616

1717
<p align="center">
18-
<a href="https://g2plot.antv.vision/en">网站</a> •
19-
<a href="https://g2plot.antv.vision/en/docs/manual/getting-started">快速开始</a> •
20-
<a href="https://www.yuque.com/antv/g2plot">博客</a> •
18+
<a href="https://g2plot.antv.vision/en">Website</a> •
19+
<a href="https://g2plot.antv.vision/en/docs/manual/getting-started">Quick Start</a> •
20+
<a href="https://www.yuque.com/antv/g2plot">Blog</a> •
2121
<a href="https://github.com/antvis/theme-set">AntV ThemeSet</a>
2222
</p>
2323

2424
</div>
2525

26-
一套简单、易用、并具备一定扩展能力和组合能力的统计图表库,基于图形语法理论搭建而成,『G2Plot』中的 G2 即意指图形语法 (the Grammar of Graphics),同时也致敬了 [ggplot2](https://ggplot2.tidyverse.org/)。我们想做的事有三件:
27-
28-
1. 使用户不用成为可视化专家也能够轻松制作出优雅美观的图表。
29-
2. 保证图表能够经受得起业务的检验,在真实的场景中易用、好用。
30-
3. 探索统计图表的更多可能性,使统计图表变得更好玩、更酷。
26+
G2Plot is an interactive and responsive charting library.
27+
Based on [the grammar of graphics](https://github.com/antvis/g2), you can easily make superior statistical charts through a few lines of code.
3128

3229
<div align="center">
33-
<img src="https://gw.alipayobjects.com/mdn/rms_d314dd/afts/img/A*sXqrRrEwFRQAAAAAAAAAAABkARQnAQ" width="800">
30+
<img src="https://gw.alipayobjects.com/mdn/rms_d314dd/afts/img/A*sXqrRrEwFRQAAAAAAAAAAABkARQnAQ" width="800">
3431
</div>
32+
<br/>
3533

36-
## 特性
34+
## Features
3735

38-
### 📦 开箱即用、体验优雅的高质量统计图表
36+
### 📦 Pretty & Lightweight
3937

40-
G2Plot 呈现给用户的是一套提炼自企业级产品的视觉语言和设计规范。不仅对图表的整体视觉样式进行了优化,并且针对每一个图表自身的特点,沉淀出一套最佳配置,保证用户能够通过最少的配置制作出优雅、标准的图表。
38+
With [AntV](https://antv.vision/en) design principles of data visualization, G2Plot provides standard and elegant visual styles as well as neat config options.
4139

42-
<div align="center">
43-
<img src="https://gw.alipayobjects.com/mdn/rms_d314dd/afts/img/A*rqI2Qqt0pTwAAAAAAAAAAABkARQnAQ" width="600" />
44-
</div>
40+
<img src="https://gw.alipayobjects.com/mdn/rms_d314dd/afts/img/A*rqI2Qqt0pTwAAAAAAAAAAABkARQnAQ" />
4541

46-
### 📊 响应式:让图表更聪明
42+
### 📊 Responsive
4743

48-
在现实的图表应用场景中,一个棘手的难题是图表的展示空间往往并不足够显示图表的数据量,造成极值情况下文本的重叠遮挡、内容无法自适应、内容裁剪等问题。G2Plot 借鉴宽容性设计的思想,在图表的信息密度过高时,对图表辅助信息进行抽稀,保证图表主要信息的展示和基本可读性。
44+
G2Plot guarantees the readability of the charts in different sizes and data.
4945

50-
<div align="center">
51-
<img src="https://gw.alipayobjects.com/mdn/rms_d314dd/afts/img/A*ifK1TLi_4WoAAAAAAAAAAABkARQnAQ" width="600" />
52-
</div>
46+
<img src="https://gw.alipayobjects.com/mdn/rms_d314dd/afts/img/A*ifK1TLi_4WoAAAAAAAAAAABkARQnAQ" />
5347

54-
### 🔳 向前一步:会讲故事的图表
48+
### 🔳 Storytelling
5549

56-
在 G2Plot 体系下,图表不仅仅只是各不相关的实例,图层概念的引入提供了多图表组合、叠加、联动,共同讲述一个数据故事的可能性。未来,我们还将探索统计图表转化信息图的可能性,丰富统计图表的表现能力。
50+
With the feature of _layers_, charts can be grouped, nested or linked to do exploratory analysis and expressive storytelling.
5751

58-
<div align="center">
59-
<img src="https://gw.alipayobjects.com/mdn/rms_d314dd/afts/img/A*gd00QaD9110AAAAAAAAAAABkARQnAQ" width="600" />
60-
</div>
52+
<img src="https://gw.alipayobjects.com/mdn/rms_d314dd/afts/img/A*gd00QaD9110AAAAAAAAAAABkARQnAQ" />
6153

62-
## 📦 安装
54+
## 📦 Installation
6355

6456
```bash
6557
$ npm install @antv/g2plot
6658
```
6759

68-
## 🔨 使用
60+
## 🔨 Usage
6961

70-
<div align="center">
71-
<img src="https://gw.alipayobjects.com/mdn/rms_d314dd/afts/img/A*37siRJftYDIAAAAAAAAAAABkARQnAQ" width="450" />
72-
</div>
62+
<img src="https://gw.alipayobjects.com/mdn/rms_d314dd/afts/img/A*37siRJftYDIAAAAAAAAAAABkARQnAQ" />
7363

7464
```html
7565
<div id="container"></div>
@@ -96,15 +86,13 @@ const bar = new Bar('container', {
9686
bar.render();
9787
```
9888

99-
## 🤝 参与贡献
89+
## 🤝 How to Contribute
10090

101-
我们非常欢迎你的贡献!无论是 issue 还是 PR。
91+
Your contributions are always welcome! Please Do have a look at the [issues](https://github.com/antvis/g2plot/issues) first.
10292

103-
反馈问题请先阅读 [issues](https://github.com/antvis/g2plot/issues)
93+
To become a contributor, please follow our [contributing guide](https://github.com/antvis/g2plot/blob/master/CONTRIBUTING.md).
10494

105-
提交代码请遵循 [贡献指引](https://github.com/antvis/g2plot/blob/master/CONTRIBUTING.md)
106-
107-
感谢下面这些贡献者 ([emoji key](https://allcontributors.org/docs/en/emoji-key)):
95+
Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):
10896

10997
<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->
11098
<!-- prettier-ignore-start -->
@@ -165,17 +153,19 @@ bar.render();
165153

166154
<!-- ALL-CONTRIBUTORS-LIST:END -->
167155

168-
## 📧 联系我们
156+
This project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!
157+
158+
## 📧 Contact us
169159

170160
钉钉群组号码: 30233731
171161

172162
<img src="https://gw.alipayobjects.com/zos/antfincdn/9sHnl5k%26u4/dingdingqun.png" width="200" height="266" />
173163
<img src="https://gw.alipayobjects.com/zos/antfincdn/8qEHi7GiaN/G2Plot-dingding.JPG" width="200" height="266" />
174164

175-
## 🔗 相关链接
165+
## 🔗 Links
176166

177-
<img src="https://gw.alipayobjects.com/zos/antfincdn/1yMwFkBvyV/chartcube-logo-cube.svg" width="18"> [ChartCube](https://chartcube.alipay.com/) - 基于 G2Plot 的在线图表制作工具,交互简单,一键导出图表代码!
167+
<img src="https://gw.alipayobjects.com/zos/antfincdn/1yMwFkBvyV/chartcube-logo-cube.svg" width="18"> [ChartCube](https://chartcube.alipay.com/) - Online chart making tool based on G2Plot.
178168

179-
## 许可证
169+
## License
180170

181171
MIT

README.md

+42-32
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
<img src="https://gw.alipayobjects.com/zos/antfincdn/R8sN%24GNdh6/language.svg" width="18"> English | [简体中文](./README.zh-CN.md)
1+
<img src="https://gw.alipayobjects.com/zos/antfincdn/R8sN%24GNdh6/language.svg" width="18"> [English](./README.en-US.md) | 简体中文
22

33
<h1 align="center">G2Plot</h1>
44

55
<div align="center">
66

7-
A charting library based on the Grammar of Graphics.
7+
基于图形语法(the Grammar of Graphics)的图表库。
88

99
[![Version](https://badgen.net/npm/v/@antv/g2plot)](https://npmjs.com/@antv/g2plot)
1010
[![NPM downloads](https://img.shields.io/npm/dm/@antv/g2plot.svg)](https://npmjs.com/@antv/g2plot)
@@ -15,51 +15,61 @@ A charting library based on the Grammar of Graphics.
1515
[![Average time to resolve an issue](http://isitmaintained.com/badge/resolution/antvis/g2plot.svg)](http://isitmaintained.com/project/antvis/g2plot "Average time to resolve an issue")
1616

1717
<p align="center">
18-
<a href="https://g2plot.antv.vision/en">Website</a> •
19-
<a href="https://g2plot.antv.vision/en/docs/manual/getting-started">Quick Start</a> •
20-
<a href="https://www.yuque.com/antv/g2plot">Blog</a> •
18+
<a href="https://g2plot.antv.vision/en">网站</a> •
19+
<a href="https://g2plot.antv.vision/en/docs/manual/getting-started">快速开始</a> •
20+
<a href="https://www.yuque.com/antv/g2plot">博客</a> •
2121
<a href="https://github.com/antvis/theme-set">AntV ThemeSet</a>
2222
</p>
2323

2424
</div>
2525

26-
G2Plot is an interactive and responsive charting library.
27-
Based on [the grammar of graphics](https://github.com/antvis/g2), you can easily make superior statistical charts through a few lines of code.
26+
一套简单、易用、并具备一定扩展能力和组合能力的统计图表库,基于图形语法理论搭建而成,『G2Plot』中的 G2 即意指图形语法 (the Grammar of Graphics),同时也致敬了 [ggplot2](https://ggplot2.tidyverse.org/)。我们想做的事有三件:
27+
28+
1. 使用户不用成为可视化专家也能够轻松制作出优雅美观的图表。
29+
2. 保证图表能够经受得起业务的检验,在真实的场景中易用、好用。
30+
3. 探索统计图表的更多可能性,使统计图表变得更好玩、更酷。
2831

2932
<div align="center">
30-
<img src="https://gw.alipayobjects.com/mdn/rms_d314dd/afts/img/A*sXqrRrEwFRQAAAAAAAAAAABkARQnAQ" width="800">
33+
<img src="https://gw.alipayobjects.com/mdn/rms_d314dd/afts/img/A*sXqrRrEwFRQAAAAAAAAAAABkARQnAQ" width="800">
3134
</div>
32-
<br/>
3335

34-
## Features
36+
## 特性
3537

36-
### 📦 Pretty & Lightweight
38+
### 📦 开箱即用、体验优雅的高质量统计图表
3739

38-
With [AntV](https://antv.vision/en) design principles of data visualization, G2Plot provides standard and elegant visual styles as well as neat config options.
40+
G2Plot 呈现给用户的是一套提炼自企业级产品的视觉语言和设计规范。不仅对图表的整体视觉样式进行了优化,并且针对每一个图表自身的特点,沉淀出一套最佳配置,保证用户能够通过最少的配置制作出优雅、标准的图表。
3941

40-
<img src="https://gw.alipayobjects.com/mdn/rms_d314dd/afts/img/A*rqI2Qqt0pTwAAAAAAAAAAABkARQnAQ" />
42+
<div align="center">
43+
<img src="https://gw.alipayobjects.com/mdn/rms_d314dd/afts/img/A*rqI2Qqt0pTwAAAAAAAAAAABkARQnAQ" width="600" />
44+
</div>
4145

42-
### 📊 Responsive
46+
### 📊 响应式:让图表更聪明
4347

44-
G2Plot guarantees the readability of the charts in different sizes and data.
48+
在现实的图表应用场景中,一个棘手的难题是图表的展示空间往往并不足够显示图表的数据量,造成极值情况下文本的重叠遮挡、内容无法自适应、内容裁剪等问题。G2Plot 借鉴宽容性设计的思想,在图表的信息密度过高时,对图表辅助信息进行抽稀,保证图表主要信息的展示和基本可读性。
4549

46-
<img src="https://gw.alipayobjects.com/mdn/rms_d314dd/afts/img/A*ifK1TLi_4WoAAAAAAAAAAABkARQnAQ" />
50+
<div align="center">
51+
<img src="https://gw.alipayobjects.com/mdn/rms_d314dd/afts/img/A*ifK1TLi_4WoAAAAAAAAAAABkARQnAQ" width="600" />
52+
</div>
4753

48-
### 🔳 Storytelling
54+
### 🔳 向前一步:会讲故事的图表
4955

50-
With the feature of _layers_, charts can be grouped, nested or linked to do exploratory analysis and expressive storytelling.
56+
在 G2Plot 体系下,图表不仅仅只是各不相关的实例,图层概念的引入提供了多图表组合、叠加、联动,共同讲述一个数据故事的可能性。未来,我们还将探索统计图表转化信息图的可能性,丰富统计图表的表现能力。
5157

52-
<img src="https://gw.alipayobjects.com/mdn/rms_d314dd/afts/img/A*gd00QaD9110AAAAAAAAAAABkARQnAQ" />
58+
<div align="center">
59+
<img src="https://gw.alipayobjects.com/mdn/rms_d314dd/afts/img/A*gd00QaD9110AAAAAAAAAAABkARQnAQ" width="600" />
60+
</div>
5361

54-
## 📦 Installation
62+
## 📦 安装
5563

5664
```bash
5765
$ npm install @antv/g2plot
5866
```
5967

60-
## 🔨 Usage
68+
## 🔨 使用
6169

62-
<img src="https://gw.alipayobjects.com/mdn/rms_d314dd/afts/img/A*37siRJftYDIAAAAAAAAAAABkARQnAQ" />
70+
<div align="center">
71+
<img src="https://gw.alipayobjects.com/mdn/rms_d314dd/afts/img/A*37siRJftYDIAAAAAAAAAAABkARQnAQ" width="450" />
72+
</div>
6373

6474
```html
6575
<div id="container"></div>
@@ -86,13 +96,15 @@ const bar = new Bar('container', {
8696
bar.render();
8797
```
8898

89-
## 🤝 How to Contribute
99+
## 🤝 参与贡献
90100

91-
Your contributions are always welcome! Please Do have a look at the [issues](https://github.com/antvis/g2plot/issues) first.
101+
我们非常欢迎你的贡献!无论是 issue 还是 PR。
92102

93-
To become a contributor, please follow our [contributing guide](https://github.com/antvis/g2plot/blob/master/CONTRIBUTING.md).
103+
反馈问题请先阅读 [issues](https://github.com/antvis/g2plot/issues)
94104

95-
Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):
105+
提交代码请遵循 [贡献指引](https://github.com/antvis/g2plot/blob/master/CONTRIBUTING.md)
106+
107+
感谢下面这些贡献者 ([emoji key](https://allcontributors.org/docs/en/emoji-key)):
96108

97109
<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->
98110
<!-- prettier-ignore-start -->
@@ -153,19 +165,17 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d
153165

154166
<!-- ALL-CONTRIBUTORS-LIST:END -->
155167

156-
This project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!
157-
158-
## 📧 Contact us
168+
## 📧 联系我们
159169

160170
钉钉群组号码: 30233731
161171

162172
<img src="https://gw.alipayobjects.com/zos/antfincdn/9sHnl5k%26u4/dingdingqun.png" width="200" height="266" />
163173
<img src="https://gw.alipayobjects.com/zos/antfincdn/8qEHi7GiaN/G2Plot-dingding.JPG" width="200" height="266" />
164174

165-
## 🔗 Links
175+
## 🔗 相关链接
166176

167-
<img src="https://gw.alipayobjects.com/zos/antfincdn/1yMwFkBvyV/chartcube-logo-cube.svg" width="18"> [ChartCube](https://chartcube.alipay.com/) - Online chart making tool based on G2Plot.
177+
<img src="https://gw.alipayobjects.com/zos/antfincdn/1yMwFkBvyV/chartcube-logo-cube.svg" width="18"> [ChartCube](https://chartcube.alipay.com/) - 基于 G2Plot 的在线图表制作工具,交互简单,一键导出图表代码!
168178

169-
## License
179+
## 许可证
170180

171181
MIT

0 commit comments

Comments
 (0)