How to create Pie Charts Online如何创建饼图在线


When it comes to creating pie charts, using Microsoft Excel is the easiest way to get the job done.当谈到创建饼图,使用Microsoft Excel是最简单的方式完成这项工作。

But what if we do not have access to Excel?但是,如果我们没有机会到Excel ? How else is it possible to create pie charts?否则怎么可能把创建饼图?

A simple and cheap way would be to draw it and scan it as an image.一种简单和廉价的方式将提请它和扫描它作为一个形象。 The pie chart might look just like this.该饼图看起来就像这一点。

Not very impressive huh?没有给人留下深刻印象吧? There must be a better way to create nice looking Pie Charts without using Excel.必须有一个更好的方式来创造好期待饼图,而不使用Excel中。 See the following Pie Chart.见下面的饼图。

A neat little pie chart representing percentages of people playing the various types of sports at my school.  Believe it or not, this pie chart is created online via Google Chart API.整洁小饼图的百分比代表人民发挥各类体育在我的学校。相信与否,这个饼图是通过建立网上谷歌图的API 。 To create a chart like this, simply copy and paste the following url into your browser.要创建一个图表一样,只要复制并粘贴以下网址到您的浏览器。

http://chart.apis.google.com/chart?cht=p3&chd=t:30,40,20,10&chs=550x200&chco=8A2EB8,BDD350,2E5CB8,CC3333&chl=Water Polo (30%)|Rugby (40%)|Hockey (20%)|Soccer (10%)

Or just click this或只要按一下此 link链接

I’ll explain a little bit about how you can go about creating this Pie chart with Google Chart API.我要说明一点有关如何你可以去创造这个饼图与谷歌图的API 。 If you look at the url, there are variables which you can change to create the chart online.如果你看一下网址,有变数,您可以改变创建图表在线。

cht=p3 -> cht is equivalent to Chart Type while p3 stands for three dimensional pie chart. 中华电信= p3 -> “中华电信等于图表类型,而p 3主张的三维饼图。 But how am I going to know which chart type to use.但是,我应该如何去知道哪些图表类型使用。 Just refer to刚才提到 Google Chart API’s Chart Types谷歌图表API的图表类型 . The various charts which can be created are:各种图表,可建立如下:

  • Sparkline
  • Line chart线图
  • Bar chart条形图
  • Pie chart饼图
  • Venn diagram维恩图
  • Scatter plot散点图
  • Radar chart雷达表
  • Map地图
  • Google-o-meter谷歌邻米

So the good news is that Google Chart API allows us to create many different types of charts.因此,好消息是,谷歌图的API使我们能够创造出许多不同类型的图表。 Not just Pie Charts.不只是饼图。

chd=t:30,40,20,10 -> chd is equivalent to Chart Data while 30,40,20,10 are the data itself. 冠心病=吨: 30,40,20,10 -> “冠心病相当于图表数据,而3 0,40,20,10是数据本身。 Refer to the pie chart above and you can see that Water Polo is 30, Rugby is 40 and so on.提及饼图以上,你可以看到,水球是30日,英式橄榄球是40等等。

chs=550×200 - chs is equivalent to Chart Size while 550×200 are the width and height. 社区卫生服务= 550 × 200 -社区卫生服务等于图表大小,而5 50× 2 00的宽度和高度。

chco=8A2EB8,BDD350,2E5CB8,CC3333 - chco is equivalent to Chart Colors while 8A2EB8,BDD350,2E5CB8,CC3333 are the respective color codes. chco = 8A2EB8 , BDD350 , 2E5CB8 , CC3333 -c hco相当于图的颜色,同时8 A2EB8, B DD350, 2 E5CB8, C C3333有各自的颜色代码。 I got to admit, I had lots of fun matching the right colors into the Pie Chart.我得承认,我有很多的乐趣匹配颜色的权利纳入饼图。 If you are unsure of where to get great color codes for your PIE Charts, check out the following如果您不确定在哪里下车伟大的颜色代码为您的饼图,检查了以下 color combo libraries颜色组合图书馆 .

chl=Water Polo (30%)|Rugby (40%)|Hockey (20%)|Soccer (10%) - chl is equivalent to Chart Labels while Water Polo (30%)|Rugby (40%)|Hockey (20%)|Soccer (10%) are the respective labels. 叶绿素=水球( 30 % ) |橄榄球( 40 % ) |曲棍球( 20 % ) |足球( 10 % ) -叶绿素相当于图表标签,而水球( 3 0% ) |橄榄球( 4 0% ) |曲棍球( 2 0 % ) |足球( 10 % )是各自的标签。 Just ensure to separate the values with a | sign.只要确保独立的价值观与|的迹象。

For more information on how to create charts with Google Chart API, check out the欲了解更多有关如何创建图表,图表与谷歌的API ,请 Developer’s Guide开发人员指南 .

Hopefully these information are good enough for you to create your very own online Pie Chart.希望这些信息是不够好供您创建自己的在线饼图。 Don’t forget to also try creating other chart types and if possible showcase it by placing the url on the comments below.不要忘记还尝试建立其他图表类型,并展示可能的话把它的网址的评论如下。

Happy Google Charting ! 快乐谷歌特色

LinkShare的InformIT (培生教育)
Save $30 instantly on McAfee Total Protection and Internet Security! 保存30美元即时的McAfee Total Protection和互联网安全!

Read more related posts了解更多有关职位

  • A new browser alternative to Internet Explorer and Firefox一个新的浏览器替代Internet Explorer和Firefox
  • How to create and conduct an online questionnaire / survey for free如何创建和进行网上问卷/调查免费
  • An online startup creation application网上申请的启动创造
  • Top 5 office productivity open source software最常见的5个办公效率开放源码软件
  • Open source php based online merchant software开源的PHP的在线商人软件


  • One Response to 'How to create Pie Charts Online'一个响应'如何创建饼图在线'

    1. A new browser alternative to Internet Explorer and Firefox » Software for Enterprise 一个新的浏览器替代Internet Explorer和Firefox »软件企业 - September 2nd, 2008 at 6:54 pm 2008年9月2号在下午6时54分

      [...] Chart created with Google Chart API. [...]图表创建谷歌图的API 。 Check out How to create Pie Charts Online [...]看看如何创建饼图在线[...]


    Leave a Comment发表您的评论