{"id":240314,"date":"2024-05-13T15:58:37","date_gmt":"2024-05-13T07:58:37","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/240314.html"},"modified":"2024-05-13T15:58:49","modified_gmt":"2024-05-13T07:58:49","slug":"%e5%a6%82%e4%bd%95%e6%a0%b9%e6%8d%ae%e6%95%b0%e6%8d%ae%e8%87%aa%e5%8a%a8%e7%94%9f%e6%88%90%e5%8f%af%e8%a7%86%e5%8c%96%e5%9b%be%e7%89%87%e6%9f%b1%e5%bd%a2%e5%9b%be%e3%80%81%e9%a5%bc%e7%8a%b6%e5%9b%be-2","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/240314.html","title":{"rendered":"\u5982\u4f55\u6839\u636e\u6570\u636e\u81ea\u52a8\u751f\u6210\u53ef\u89c6\u5316\u56fe\u7247(\u67f1\u5f62\u56fe\u3001\u997c\u72b6\u56fe)"},"content":{"rendered":"<p style=\"text-align:center\"><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/25165343\/8b38434d-8290-48d0-b714-d1c33750869a.webp\" alt=\"\u5982\u4f55\u6839\u636e\u6570\u636e\u81ea\u52a8\u751f\u6210\u53ef\u89c6\u5316\u56fe\u7247(\u67f1\u5f62\u56fe\u3001\u997c\u72b6\u56fe)\" \/><\/p>\n<p><p>\u6570\u636e\u7684\u53ef\u89c6\u5316\u662f\u5c06\u590d\u6742\u6570\u636e\u8f6c\u5316\u4e3a\u66f4\u5bb9\u6613\u7406\u89e3\u7684\u56fe\u5f62\u8868\u793a\u7684\u8fc7\u7a0b\u3002\u6839\u636e\u6570\u636e\u81ea\u52a8\u751f\u6210\u53ef\u89c6\u5316\u56fe\u7247\uff0c\u4e3b\u8981\u4f9d\u9760\u4e13\u4e1a\u7684\u6570\u636e\u53ef\u89c6\u5316\u8f6f\u4ef6\u6216\u7f16\u7a0b\u5e93\uff0c\u4f8b\u5982<strong>Microsoft Excel<\/strong>\u3001<strong>Tableau<\/strong>\u3001<strong>Python\u7684matplotlib\u5e93<\/strong>\u3001<strong>R\u8bed\u8a00\u7684ggplot2<\/strong>\u3002\u5728\u8fd9\u4e9b\u5de5\u5177\u7684\u5e2e\u52a9\u4e0b\uff0c\u7528\u6237\u53ef\u4ee5\u6839\u636e\u6570\u636e\u96c6\u521b\u5efa\u5404\u79cd\u7c7b\u578b\u7684\u56fe\u8868\uff0c<strong>\u67f1\u5f62\u56fe<\/strong>\u548c<strong>\u997c\u72b6\u56fe<\/strong>\u662f\u5176\u4e2d\u6700\u5e38\u89c1\u7684\u7c7b\u578b\u3002<\/p>\n<\/p>\n<p><p>\u67f1\u5f62\u56fe\u9002\u5408\u5c55\u793a\u6570\u636e\u4e4b\u95f4\u7684\u6bd4\u8f83\uff0c\u5c24\u5176\u662f\u5f53\u6d89\u53ca\u5230\u65f6\u95f4\u5e8f\u5217\u6216\u4e0d\u540c\u7c7b\u522b\u7684\u6570\u636e\u5bf9\u6bd4\u65f6\uff1b\u997c\u72b6\u56fe\u5219\u9002\u7528\u4e8e\u5c55\u793a\u5404\u90e8\u5206\u5360\u6574\u4f53\u7684\u6bd4\u4f8b\u5173\u7cfb\u3002\u4f8b\u5982\uff0c\u4f7f\u7528Python\u7684matplotlib\u5e93\u53ef\u4ee5\u8f7b\u677e\u8bfb\u53d6\u6570\u636e\uff0c\u5e76\u6839\u636e\u6570\u636e\u96c6\u7684\u4e0d\u540c\u5217\u751f\u6210\u76f8\u5e94\u7684\u56fe\u8868\u3002\u63a5\u4e0b\u6765\uff0c\u6211\u4eec\u8be6\u7ec6\u4ecb\u7ecd\u5982\u4f55\u4f7f\u7528\u4e0d\u540c\u5de5\u5177\u548c\u5e93\u6765\u6839\u636e\u6570\u636e\u751f\u6210\u53ef\u89c6\u5316\u56fe\u8868\u3002<\/p>\n<\/p>\n<p><h3>\u4e00\u3001\u5229\u7528EXCEL\u751f\u6210\u53ef\u89c6\u5316\u56fe\u7247<\/h3>\n<\/p>\n<p><p><strong>1. \u6570\u636e\u7684\u51c6\u5907\u548c\u5bfc\u5165<\/strong><\/p>\n<\/p>\n<p><p>\u5728Excel\u4e2d\uff0c\u9996\u5148\u9700\u8981\u6709\u4e00\u4e2a\u7ed3\u6784\u5316\u7684\u6570\u636e\u96c6\u3002\u6570\u636e\u5e94\u5f53\u4ee5\u8868\u683c\u5f62\u5f0f\u5448\u73b0\uff0c\u6570\u636e\u5217\u660e\u786e\u533a\u5206\u5404\u4e2a\u53d8\u91cf\u3002<\/p>\n<\/p>\n<p><p><strong>2. \u4f7f\u7528\u56fe\u8868\u529f\u80fd<\/strong><\/p>\n<\/p>\n<p><p>\u9009\u4e2d\u6240\u9700\u53ef\u89c6\u5316\u7684\u6570\u636e\uff0c\u70b9\u51fb\u201c\u63d2\u5165\u201d\u9009\u9879\u5361\uff0c\u518d\u9009\u62e9\u201c\u67f1\u72b6\u56fe\u201d\u6216\u201c\u997c\u56fe\u201d\u7b49\u56fe\u6807\u3002Excel\u4f1a\u81ea\u52a8\u751f\u6210\u5bf9\u5e94\u7684\u56fe\u8868\uff0c\u5e76\u63d0\u4f9b\u591a\u79cd\u8bbe\u8ba1\u6a21\u677f\u548c\u683c\u5f0f\u9009\u9879\u3002<\/p>\n<\/p>\n<p><h3>\u4e8c\u3001\u4f7f\u7528TABLEAU\u521b\u5efa\u53ef\u89c6\u5316\u56fe\u7247<\/h3>\n<\/p>\n<p><p><strong>1. \u6570\u636e\u8fde\u63a5<\/strong><\/p>\n<\/p>\n<p><p>\u5728Tableau\u4e2d\uff0c\u9996\u5148\u8981\u8fde\u63a5\u5230\u6570\u636e\u6e90\u3002Tableau\u652f\u6301\u591a\u79cd\u6570\u636e\u683c\u5f0f\u548c\u591a\u79cd\u6570\u636e\u8fde\u63a5\u65b9\u5f0f\u3002<\/p>\n<\/p>\n<p><p><strong>2. \u62d6\u653e\u5f0f\u56fe\u8868\u751f\u6210<\/strong><\/p>\n<\/p>\n<p><p>\u901a\u8fc7\u5c06\u6570\u636e\u5b57\u6bb5\u62d6\u653e\u5230\u884c\u548c\u5217\u533a\u57df\uff0cTableau\u53ef\u81ea\u52a8\u521b\u5efa\u56fe\u8868\u3002Tableau\u7684\u5f3a\u5927\u529f\u80fd\u5728\u4e8e\u5b83\u7684\u76f4\u89c2\u64cd\u4f5c\u548c\u52a8\u6001\u4ea4\u4e92\u53ef\u80fd\u6027\u3002<\/p>\n<\/p>\n<p><h3>\u4e09\u3001\u501f\u52a9PYTHON MATPLOTLIB\u5e93<\/h3>\n<\/p>\n<p><p><strong>1. \u6570\u636e\u7684\u8bfb\u53d6<\/strong><\/p>\n<\/p>\n<p><p>\u4f7f\u7528pandas\u7b49\u5e93\u8bfb\u53d6\u6570\u636e\u96c6\uff0c\u4f8b\u5982\u4f7f\u7528<code>pd.read_csv()<\/code>\u51fd\u6570\u6765\u8bfb\u53d6CSV\u6587\u4ef6\u3002<\/p>\n<\/p>\n<p><p><strong>2. \u7f16\u5199\u7ed8\u56fe\u4ee3\u7801<\/strong><\/p>\n<\/p>\n<p><p>\u5229\u7528matplotlib\u5e93\u4e2d\u7684<code>plt.bar()<\/code>\u65b9\u6cd5\u7ed8\u5236\u67f1\u72b6\u56fe\uff0c<code>plt.pie()<\/code>\u65b9\u6cd5\u7ed8\u5236\u997c\u72b6\u56fe\u3002\u901a\u8fc7\u8c03\u6574\u53c2\u6570\uff0c\u53ef\u4ee5\u5b9a\u5236\u56fe\u6807\u7684\u5916\u89c2\uff0c\u4f8b\u5982\u989c\u8272\u3001\u6807\u7b7e\u7b49\u3002<\/p>\n<\/p>\n<p><h3>\u56db\u3001\u4f7f\u7528R\u8bed\u8a00\u7684GGPLOT2\u5305<\/h3>\n<\/p>\n<p><p><strong>1. \u6570\u636e\u8bfb\u53d6\u4e0e\u5904\u7406<\/strong><\/p>\n<\/p>\n<p><p>\u5728R\u73af\u5883\u4e2d\uff0c\u53ef\u4ee5\u4f7f\u7528<code>read.csv()<\/code>\u6216<code>read.table()<\/code>\u51fd\u6570\u8bfb\u53d6\u6570\u636e\uff0c\u901a\u8fc7<code>data.frame()<\/code>\u5c06\u6570\u636e\u7ec4\u7ec7\u6210\u5408\u9002\u7684\u683c\u5f0f\u3002<\/p>\n<\/p>\n<p><p><strong>2. \u4f7f\u7528ggplot2\u7ed8\u56fe<\/strong><\/p>\n<\/p>\n<p><p>ggplot2\u662f\u4e00\u4e2a\u57fa\u4e8e\u56fe\u5f62\u8bed\u6cd5\u7684\u7ed8\u56fe\u7cfb\u7edf\uff0c\u4f7f\u7528\u5b83\u53ef\u4ee5\u521b\u5efa\u590d\u6742\u7684\u56fe\u8868\u3002\u5b83\u7684\u4f7f\u7528\u8d77\u59cb\u4e8e<code>ggplot()<\/code>\u51fd\u6570\uff0c\u968f\u540e\u6dfb\u52a0\u56fe\u5c42\uff0c\u6bd4\u5982<code>geom_bar()<\/code>\u7ed8\u5236\u67f1\u72b6\u56fe\uff0c<code>geom_pie()<\/code>\u521b\u5efa\u997c\u72b6\u56fe\u3002<\/p>\n<\/p>\n<p><p>\u7efc\u5408\u4e0a\u8ff0\u5de5\u5177\u548c\u65b9\u6cd5\uff0c\u7528\u6237\u53ef\u4ee5\u6839\u636e\u5177\u4f53\u7684\u6570\u636e\u548c\u9700\u6c42\uff0c\u9009\u62e9\u5408\u9002\u7684\u5de5\u5177\u8fdb\u884c\u53ef\u89c6\u5316\u64cd\u4f5c\u3002\u5728\u4e0b\u9762\u7684\u5185\u5bb9\u4e2d\uff0c\u6211\u4eec\u5c06\u6df1\u5165\u63a2\u8ba8\u6bcf\u4e00\u79cd\u65b9\u6cd5\u7684\u4f7f\u7528\u7ec6\u8282\uff0c\u63d0\u4f9b\u6b65\u9aa4\u548c\u793a\u4f8b\u4ee3\u7801\uff0c\u5e2e\u52a9\u7528\u6237\u66f4\u597d\u5730\u7406\u89e3\u5982\u4f55\u6839\u636e\u6570\u636e\u81ea\u52a8\u751f\u6210\u76f8\u5173\u7684\u53ef\u89c6\u5316\u56fe\u7247\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p><strong>1. \u4ec0\u4e48\u5de5\u5177\u53ef\u4ee5\u6839\u636e\u6570\u636e\u81ea\u52a8\u751f\u6210\u53ef\u89c6\u5316\u56fe\u7247\uff1f<\/strong><br \/>\n\u4ece\u5e02\u9762\u4e0a\u6709\u591a\u79cd\u5de5\u5177\u53ef\u4ee5\u6839\u636e\u6570\u636e\u81ea\u52a8\u751f\u6210\u53ef\u89c6\u5316\u56fe\u7247\uff0c\u5982Tableau\uff0cPower BI\u7b49\u3002\u8fd9\u4e9b\u5de5\u5177\u63d0\u4f9b\u4e86\u4e30\u5bcc\u7684\u56fe\u8868\u7c7b\u578b\u548c\u5b9a\u5236\u9009\u9879\uff0c\u4f7f\u7528\u6237\u80fd\u591f\u6839\u636e\u6570\u636e\u7684\u7279\u70b9\u9009\u62e9\u5408\u9002\u7684\u56fe\u8868\u7c7b\u578b\uff0c\u5e76\u7075\u6d3b\u5730\u5bf9\u56fe\u8868\u8fdb\u884c\u6837\u5f0f\u3001\u989c\u8272\u3001\u6807\u7b7e\u7b49\u65b9\u9762\u7684\u8bbe\u7f6e\u3002<\/p>\n<p><strong>2. \u5982\u4f55\u751f\u6210\u67f1\u5f62\u56fe\uff1f<\/strong><br \/>\n\u751f\u6210\u67f1\u5f62\u56fe\u7684\u5173\u952e\u662f\u5c06\u6570\u636e\u4ee5\u9002\u5f53\u7684\u65b9\u5f0f\u5448\u73b0\u3002\u9996\u5148\uff0c\u9009\u62e9\u67f1\u5f62\u56fe\u4f5c\u4e3a\u6570\u636e\u7c7b\u578b\u7684\u53ef\u89c6\u5316\u65b9\u5f0f\uff0c\u7136\u540e\u5c06\u6570\u636e\u5bfc\u5165\u5de5\u5177\u4e2d\uff0c\u5e76\u6307\u5b9a\u6a2a\u8f74\u548c\u7eb5\u8f74\u7684\u6570\u636e\u5217\u3002\u63a5\u4e0b\u6765\uff0c\u53ef\u4ee5\u6839\u636e\u4e2a\u4eba\u504f\u597d\u8c03\u6574\u67f1\u5f62\u56fe\u7684\u5916\u89c2\uff0c\u4f8b\u5982\u67f1\u5b50\u7684\u5bbd\u5ea6\u3001\u989c\u8272\u3001\u95f4\u8ddd\u7b49\u3002\u6700\u540e\uff0c\u6dfb\u52a0\u56fe\u4f8b\u548c\u6807\u7b7e\uff0c\u6e05\u6670\u5730\u4f20\u8fbe\u6570\u636e\u4fe1\u606f\u3002<\/p>\n<p><strong>3. \u5982\u4f55\u751f\u6210\u997c\u72b6\u56fe\uff1f<\/strong><br \/>\n\u751f\u6210\u997c\u72b6\u56fe\u4e5f\u9700\u8981\u6839\u636e\u6570\u636e\u8fdb\u884c\u8bbe\u7f6e\u3002\u9996\u5148\uff0c\u9009\u62e9\u997c\u72b6\u56fe\u4f5c\u4e3a\u6570\u636e\u7c7b\u578b\u7684\u53ef\u89c6\u5316\u65b9\u5f0f\uff0c\u7136\u540e\u5c06\u6570\u636e\u5bfc\u5165\u5de5\u5177\u4e2d\uff0c\u5e76\u6307\u5b9a\u9700\u8981\u663e\u793a\u7684\u6570\u636e\u5217\u3002\u63a5\u4e0b\u6765\uff0c\u53ef\u4ee5\u6839\u636e\u4e2a\u4eba\u559c\u597d\u8bbe\u7f6e\u997c\u72b6\u56fe\u7684\u6837\u5f0f\uff0c\u4f8b\u5982\u997c\u5757\u7684\u989c\u8272\u3001\u5c3a\u5bf8\u3001\u6392\u5e8f\u7b49\u3002\u6b64\u5916\uff0c\u8fd8\u53ef\u4ee5\u4e3a\u6bcf\u4e2a\u997c\u5757\u6dfb\u52a0\u6807\u7b7e\uff0c\u4ee5\u66f4\u6e05\u6670\u5730\u663e\u793a\u5404\u4e2a\u90e8\u5206\u6240\u5360\u6bd4\u4f8b\u3002\u6700\u540e\uff0c\u52a0\u4e0a\u56fe\u4f8b\uff0c\u4f7f\u5f97\u8bfb\u8005\u80fd\u591f\u51c6\u786e\u7406\u89e3\u56fe\u8868\u7684\u542b\u4e49\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u6570\u636e\u7684\u53ef\u89c6\u5316\u662f\u5c06\u590d\u6742\u6570\u636e\u8f6c\u5316\u4e3a\u66f4\u5bb9\u6613\u7406\u89e3\u7684\u56fe\u5f62\u8868\u793a\u7684\u8fc7\u7a0b\u3002\u6839\u636e\u6570\u636e\u81ea\u52a8\u751f\u6210\u53ef\u89c6\u5316\u56fe\u7247\uff0c\u4e3b\u8981\u4f9d\u9760\u4e13\u4e1a\u7684\u6570\u636e\u53ef\u89c6\u5316 [&hellip;]","protected":false},"author":3,"featured_media":240337,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[37],"tags":[],"acf":[],"_links":{"self":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/240314"}],"collection":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/comments?post=240314"}],"version-history":[{"count":0,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/240314\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/240337"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=240314"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=240314"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=240314"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}