{"id":7921,"date":"2022-09-22T16:43:53","date_gmt":"2022-09-22T07:43:53","guid":{"rendered":"https:\/\/gri.jp\/media\/?p=7921"},"modified":"2022-09-22T16:44:00","modified_gmt":"2022-09-22T07:44:00","slug":"%e3%82%a4%e3%83%b3%e3%82%bf%e3%83%a9%e3%82%af%e3%83%86%e3%82%a3%e3%83%96%e3%81%aa%e5%88%86%e6%9e%90%e3%82%92%e9%ab%98%e9%80%9f%e5%8c%96%e3%81%99%e3%82%8b-plotly-express%e3%81%ae%e4%bd%bf%e3%81%84","status":"publish","type":"post","link":"https:\/\/gri.jp\/media\/entry\/7921","title":{"rendered":"\u30a4\u30f3\u30bf\u30e9\u30af\u30c6\u30a3\u30d6\u306a\u5206\u6790\u3092\u9ad8\u901f\u5316\u3059\u308b Plotly express\u306e\u4f7f\u3044\u65b9"},"content":{"rendered":"<p>\u3053\u3093\u306b\u3061\u306f\u3001\u7686\u3055\u3093 Jupyter\u306a\u3069\u3067\u30c7\u30fc\u30bf\u5206\u6790\u3092\u3084\u3063\u3066\u3044\u308b\u3068\u304d\u306b\u30b0\u30e9\u30d5\u306e\u4f5c\u6210\u306f\u4f55\u3092\u4f7f\u3063\u3066\u3044\u307e\u3059\u304b\uff1fMatplotlib\u3084 Seaborn\u304c\u3059\u3050\u306b\u601d\u3044\u6d6e\u304b\u3076\u3068\u601d\u3044\u307e\u3059\u304c\u3001\u6563\u5e03\u56f3\u3092\u66f8\u3044\u305f\u3068\u304d\u306b\u5916\u308c\u5024\u304c\u539f\u56e0\u3067\u898b\u305f\u3044\u9818\u57df\u304c\u5168\u7136\u898b\u3048\u306a\u304b\u3063\u305f\u308a\u3001\u8ef8\u3067\u5207\u308a\u5206\u3051\u3066\u307f\u308b\u3068\u304d\u306b\u3044\u3061\u3044\u3061\u5143\u30c7\u30fc\u30bf\u3092\u6574\u5f62\u3057\u306a\u3044\u3068\u3044\u3051\u306a\u304b\u3063\u305f\u308a\u2026<\/p>\n<p>\u672c\u6765\u3067\u3042\u308c\u3070\u30c7\u30fc\u30bf\u306e\u69cb\u9020\u3092\u7406\u89e3\u3059\u308b\u305f\u3081\u306b\u982d\u3068\u6642\u9593\u3092\u4f7f\u3044\u305f\u3044\u306e\u306b\u30c7\u30fc\u30bf\u53ef\u8996\u5316\u306e\u6642\u70b9\u3067\u624b\u9593\u53d6\u3063\u3066\u3057\u307e\u3044\u3001\u52b9\u7387\u304c\u843d\u3061\u3066\u3057\u307e\u3046\u3053\u3068\u306f\u3088\u304f\u3042\u308b\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<p>\u305d\u3053\u3067\u3001\u767b\u5834\u3059\u308b\u306e\u304c\u30c7\u30fc\u30bf\u53ef\u8996\u5316\u30e9\u30a4\u30d6\u30e9\u30ea\u3067\u3042\u308b\u300cPlotly\u300d\u3067\u3059\u3002\u3053\u308c\u306f\u3001Python\u3060\u3051\u3067\u306a\u304f R, Julia, Javascript\u306a\u3069\u3067\u3082\u4f7f\u3048\u308b\u30b0\u30e9\u30d5\u3092\u4f5c\u308b\u305f\u3081\u306e\u30e9\u30a4\u30d6\u30e9\u30ea\u3067\u3059\u3002\u4eca\u56de\u306f\u3053\u306e Plotly\u3092\u4f7f\u3063\u3066\u304a\u624b\u8efd\u306b\u8272\u3005\u306a\u7a2e\u985e\u306e\u30b0\u30e9\u30d5\u3092\u4f5c\u3063\u3066\u307f\u307e\u3057\u305f\u3002<\/p>\n<h2>Plotly\u3068\u306f<\/h2>\n<p>Plotly\u306f\u30a4\u30f3\u30bf\u30e9\u30af\u30c6\u30a3\u30d6\u306a\u30b0\u30e9\u30d5\u3084\u30c1\u30e3\u30fc\u30c8\u3092\u751f\u6210\u3067\u304d\u308b\u30e9\u30a4\u30d6\u30e9\u30ea\u3067\u3059\uff08<a href=\"https:\/\/plotly.com\/graphing-libraries\/\" target=\"_blank\" rel=\"noopener\">\u516c\u5f0f\u30da\u30fc\u30b8<\/a>\uff09\u3002Python\u3067\u4f7f\u7528\u3059\u308b\u3068\u304d\u306b\u306f\u5927\u304d\u304f\u5206\u3051\u3066\u4e8c\u7a2e\u985e\u306e\u30af\u30e9\u30b9\u30e1\u30bd\u30c3\u30c9\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<ul>\n<li>plotly.express : pandas.DataFrame\u3092\u4f7f\u3063\u3066\u3001\u77ed\u3044\u30b3\u30fc\u30c9\u3067\u30b0\u30e9\u30d5\u3092\u4f5c\u6210<\/li>\n<li>plotly.graph_objects : listlike\u306a\u30c7\u30fc\u30bf\u3092\u4f7f\u3063\u3066\u3001\u8a73\u7d30\u307e\u3067\u660e\u793a\u3057\u305f\u30b0\u30e9\u30d5\u3092\u4f5c\u6210<\/li>\n<\/ul>\n<p>plotly.express\u3067\u306f\u3068\u308a\u3042\u3048\u305a\u30b0\u30e9\u30d5\u3092\u898b\u3066\u307f\u305f\u3044\u3068\u304d\u306b\u4f7f\u3046\u30a4\u30e1\u30fc\u30b8\u3067\u3001plotly.graph_objects\u306f\u7d30\u304b\u3044\u90e8\u5206\u307e\u3067\u30b0\u30e9\u30d5\u3092\u4f5c\u308a\u3053\u3080\u3068\u304d\u306b\u4f7f\u3046\u30a4\u30e1\u30fc\u30b8\u3067\u3059\u3002<\/p>\n<p>plotly.graph_objects\u306f Matplotlib\u3084 Seaborn\u3088\u308a\u3082\u8907\u96d1\u3067\u7fd2\u719f\u306b\u305d\u3053\u305d\u3053\u306a\u30b3\u30b9\u30c8\u304c\u304b\u304b\u308a\u305d\u3046\u3067\u3059\u304c\u3001plotly.express\u306f\u7c21\u5358\u306b\u30b0\u30e9\u30d5\u304c\u66f8\u3051\uff08\u4f53\u611f Seaborn\u306b\u4f3c\u3066\u3044\u307e\u3059\uff09\u304b\u306a\u308a\u30a4\u30f3\u30bf\u30e9\u30af\u30c6\u30a3\u30d6\u306b\u30b0\u30e9\u30d5\u3092\u64cd\u4f5c\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u4eca\u56de\u306f\u3053\u306e plotly.express\u306b\u7d5e\u3063\u3066\u30b3\u30fc\u30c9\u3092\u3069\u3093\u306a\u30b0\u30e9\u30d5\u304c\u3067\u304d\u308b\u304b\u3092\u66f8\u3044\u3066\u3044\u304d\u307e\u3059\u3002<\/p>\n<p><a href=\"https:\/\/plotly.com\/python\/plotly-express\/\" target=\"_blank\" rel=\"noopener\">plotly.express \u30ea\u30d5\u30a1\u30ec\u30f3\u30b9<\/a><\/p>\n<h2>\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/h2>\n<p>pip \u3067\u5165\u308a\u307e\u3059<\/p>\n<pre class=\"language-python\"><code>pip install plotly<\/code><\/pre>\n<p>conda\u3067\u5165\u308c\u308b\u3068\u304d\u306b\u306f\u30c1\u30e3\u30cd\u30eb\u304c\u300cplotly\u300d\u3067\u3042\u308b\u3053\u3068\u306b\u6ce8\u610f\u3057\u3066\u304f\u3060\u3055\u3044<\/p>\n<pre class=\"language-python\"><code>conda install -c plotly plotly<\/code><\/pre>\n<h2>\u4f7f\u7528\u30c7\u30fc\u30bf<\/h2>\n<p>\u4eca\u56de\u4f7f\u7528\u3057\u305f\u30c7\u30fc\u30bf\u306fTableau\u306e\u30b5\u30f3\u30d7\u30eb\u30c7\u30fc\u30bf\u3068\u3057\u3066\u3088\u304f\u4f7f\u308f\u308c\u308b\u30b9\u30fc\u30d1\u30fc\u30b9\u30c8\u30a2\u306e\u65e5\u672c\u30d0\u30fc\u30b8\u30e7\u30f3\u306e\u3082\u306e\u3092\u4f7f\u7528\u3057\u307e\u3057\u305f\u3002<\/p>\n<p>URL: <a href=\"https:\/\/drive.google.com\/drive\/u\/0\/folders\/1kXSb3fqPTt3VcPjGUSgOmrztlRfvvpMH\" target=\"_blank\" rel=\"noopener\">https:\/\/drive.google.com\/drive\/u\/0\/folders\/1kXSb3fqPTt3VcPjGUSgOmrztlRfvvpMH<\/a><\/p>\n<p>\u5c11\u3057\u6574\u5f62\u3057\u3066\u3001\u3053\u306e\u3088\u3046\u306a\u30c7\u30fc\u30bf\u3092\u4f7f\u3063\u3066\u53ef\u8996\u5316\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<img loading=\"lazy\" decoding=\"async\" class=\"wp-image-7953 size-large aligncenter\" src=\"https:\/\/gri.jp\/media\/wp\/wp-content\/uploads\/2022\/06\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2022-06-24-142530-1024x320.png\" alt=\"\" width=\"1024\" height=\"320\" \/>\n<h2>\u57fa\u672c\u7cfb<\/h2>\n<p>\u5927\u67a0\u306e\u51fa\u529b\u65b9\u6cd5\u306f\u3001pandas.DataFrame\u3092\u6307\u5b9a\u3057\u3066x\u8ef8\u3068y\u8ef8\u306b\u4f7f\u3046\u30ab\u30e9\u30e0\u3092\u6307\u5b9a\u3001\u8272\u3092\u5206\u3051\u305f\u3044\u5834\u5408\u306fcolor\u306b\u5206\u6790\u8ef8\u306e\u30ab\u30e9\u30e0\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002<\/p>\n<p>\u3053\u306e\u3088\u3046\u306b\u3057\u3066\u4f5c\u3089\u308c\u305f\u30b0\u30e9\u30d5\u306f\u30b0\u30e9\u30d5\u5185\u3092\u30c9\u30e9\u30c3\u30b0\u3059\u308b\u3053\u3068\u306b\u3088\u3063\u3066\u8868\u793a\u3059\u308b\u8ef8\u306e\u7bc4\u56f2\u3092\u5909\u66f4\u3067\u304d\u307e\u3059\u3002\u307e\u305f\u3001\u53f3\u5074\u306e\u8981\u7d20\u3092\u30af\u30ea\u30c3\u30af\u3059\u308b\u3068\u305d\u306e\u8981\u7d20\u3092\u8868\u793a\u3059\u308b\u304b\u3069\u3046\u304b\u3092\u9078\u629e\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u4ed6\u306b\u3082\u30b9\u30e9\u30a4\u30c0\u30fc\u3067\u8868\u793a\u3055\u305b\u308b\u8981\u7d20\u3092\u5207\u308a\u66ff\u3048\u3089\u308c\u305f\u308a\u3001\u8272\u3005\u306a\u64cd\u4f5c\u6027\u3092\u7d44\u307f\u8fbc\u3080\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u4ee5\u4e0b\u30b3\u30fc\u30c9\u4f8b\u3068\u51fa\u529b\u7d50\u679c\u3092\u4e26\u3079\u308b\u306e\u3067\u8272\u3005\u89e6\u3063\u3066\u307f\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<h3>\u6563\u5e03\u56f3<\/h3>\n<pre class=\"language-python\"><code>import plotly.express as px\r\n\r\nfig = px.scatter(\r\n    data_frame=df,\r\n    x='\u58f2\u4e0a',\r\n    y='\u5229\u76ca',\r\n    color='\u5730\u57df',\r\n    marginal_x='rug',\r\n    marginal_y='rug',\r\n    title='Scatter Plot'\r\n)\r\nfig.show()<\/code><\/pre>\n<p><iframe loading=\"lazy\" src=\"https:\/\/gri.jp\/media\/wp\/wp-content\/uploads\/2022\/06\/Scatter.html\" width=\"1080\" height=\"1080\"><span data-mce-type=\"bookmark\" style=\"display: inline-block; width: 0px; overflow: hidden; line-height: 0;\" class=\"mce_SELRES_start\">\ufeff<\/span><\/iframe><\/p>\n<h3>\u30d0\u30d6\u30eb\u30c1\u30e3\u30fc\u30c8<\/h3>\n<pre class=\"language-python\"><code>import plotly.express as px\r\n\r\nfig = px.scatter(\r\n    data_frame=df,\r\n    x='\u58f2\u4e0a',\r\n    y='\u5229\u76ca',\r\n    color='\u51fa\u8377\u30e2\u30fc\u30c9',\r\n    size='\u6570\u91cf',\r\n    title='Bubble chart'\r\n)\r\nfig.show()<\/code><\/pre>\n<p><iframe loading=\"lazy\" src=\"https:\/\/gri.jp\/media\/wp\/wp-content\/uploads\/2022\/06\/Bubble.html\" width=\"1080\" height=\"1080\"><\/iframe><\/p>\n<h3>\u6298\u308c\u7dda\u30b0\u30e9\u30d5<\/h3>\n<pre class=\"language-python\"><code>import plotly.express as px\r\n\r\nfig = px.line(\r\n    data_frame=df,\r\n    x='\u30aa\u30fc\u30c0\u30fc\u65e5',\r\n    y='\u5229\u76ca',\r\n    color='\u30ab\u30c6\u30b4\u30ea',\r\n    animation_frame='\u30aa\u30fc\u30c0\u30fc\u65e5\uff08\u5e74\uff09',\r\n    title='Line Plot'\r\n)\r\nfig.show()<\/code><\/pre>\n<p><iframe loading=\"lazy\" src=\"https:\/\/gri.jp\/media\/wp\/wp-content\/uploads\/2022\/06\/Line.html\" width=\"1080\" height=\"1080\"><\/iframe><\/p>\n<h3>\u68d2\u30b0\u30e9\u30d5<\/h3>\n<p>\u203b\u96c6\u8a08\u3055\u308c\u305f\u7a4d\u307f\u4e0a\u3052\u68d2\u30b0\u30e9\u30d5\u3092\u4f5c\u6210\u3059\u308b\u306e\u306f histogram\u95a2\u6570\u3092\u4f7f\u3046\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059<\/p>\n<pre class=\"language-python\"><code>import plotly.express as px\r\n\r\nfig = px.histogram(\r\n    data_frame=df,\r\n    x='\u5730\u57df',\r\n    y='\u58f2\u4e0a',\r\n    color='\u9867\u5ba2\u533a\u5206',\r\n    title='Bar plot (by use Histogram)'\r\n)\r\nfig.show()<\/code><\/pre>\n<p><iframe loading=\"lazy\" src=\"https:\/\/gri.jp\/media\/wp\/wp-content\/uploads\/2022\/06\/Bar.html\" width=\"1080\" height=\"1080\"><\/iframe><\/p>\n<h2>\u6bd4\u8f03<\/h2>\n<h3>\u5186\u30b0\u30e9\u30d5<\/h3>\n<pre class=\"language-python\"><code>import plotly.express as px\r\n\r\nfig = px.pie(\r\n    data_frame=df,\r\n    values='\u58f2\u4e0a',\r\n    names='\u30ab\u30c6\u30b4\u30ea',\r\n    title='Pie Chart'\r\n)\r\nfig.show()<\/code><\/pre>\n<p><iframe loading=\"lazy\" src=\"https:\/\/gri.jp\/media\/wp\/wp-content\/uploads\/2022\/06\/Pie.html\" width=\"1080\" height=\"1080\"><\/iframe><\/p>\n<h3>\u30b5\u30f3\u30d0\u30fc\u30b9\u30c8<\/h3>\n<pre class=\"language-python\"><code>import plotly.express as px\r\n\r\nfig = px.sunburst(\r\n    data_frame=df,\r\n    values='\u58f2\u4e0a',\r\n    path=['\u30ab\u30c6\u30b4\u30ea', '\u30b5\u30d6\u30ab\u30c6\u30b4\u30ea'],\r\n    color='\u5229\u76ca',\r\n    title='Sunburst Chart'\r\n)\r\nfig.show()<\/code><\/pre>\n<p><iframe loading=\"lazy\" src=\"https:\/\/gri.jp\/media\/wp\/wp-content\/uploads\/2022\/06\/Sunburst.html\" width=\"1080\" height=\"1080\"><\/iframe><\/p>\n<h3>\u30c4\u30ea\u30fc\u30de\u30c3\u30d7<\/h3>\n<pre class=\"language-python\"><code>import plotly.express as px\r\n\r\nfig = px.treemap(\r\n    data_frame=df,\r\n    values='\u58f2\u4e0a',\r\n    path=['\u56fd', '\u5730\u57df', '\u90fd\u9053\u5e9c\u770c'],\r\n    color='\u5229\u76ca',\r\n    title='Treemap',\r\n)\r\nfig.show()<\/code><\/pre>\n<p><iframe loading=\"lazy\" src=\"https:\/\/gri.jp\/media\/wp\/wp-content\/uploads\/2022\/06\/Treemap.html\" width=\"1080\" height=\"1080\"><\/iframe><\/p>\n<h3>\u6563\u5e03\u56f3\u884c\u5217<\/h3>\n<pre class=\"language-python\"><code>import plotly.express as px\r\n\r\nfig = px.scatter_matrix(\r\n    data_frame=df,\r\n    dimensions=['\u58f2\u4e0a', '\u5229\u76ca', '\u6570\u91cf', '\u5272\u5f15\u7387'],\r\n    color='\u9867\u5ba2\u533a\u5206',\r\n    title='3D Scatter plot'\r\n)\r\nfig.show()<\/code><\/pre>\n<p><iframe loading=\"lazy\" src=\"https:\/\/gri.jp\/media\/wp\/wp-content\/uploads\/2022\/06\/ScatterMatrix.html\" width=\"1080\" height=\"1080\"><\/iframe><\/p>\n<h3>Parallel Coodinates<\/h3>\n<pre class=\"language-python\"><code>import plotly.express as px\r\n\r\nfig = px.parallel_coordinates(\r\n    data_frame=df,\r\n    color='\u5229\u76ca',\r\n    dimensions=['\u6570\u91cf', '\u5272\u5f15\u7387', '\u58f2\u4e0a', '\u5229\u76ca'],\r\n    color_continuous_scale=px.colors.diverging.Tealrose,\r\n    color_continuous_midpoint=2,\r\n    title='Parallel Coodinates'\r\n)\r\nfig.show()<\/code><\/pre>\n<p><iframe loading=\"lazy\" src=\"https:\/\/gri.jp\/media\/wp\/wp-content\/uploads\/2022\/06\/ParallelCoodinates.html\" width=\"1080\" height=\"1080\"><\/iframe><\/p>\n<h2>\u5206\u5e03<\/h2>\n<h3>\u30d2\u30b9\u30c8\u30b0\u30e9\u30e0\uff08\u9023\u7d9a\u5024\uff09<\/h3>\n<pre class=\"language-markup\"><code>import plotly.express as px\r\n\r\nfig = px.histogram(\r\n    data_frame=df,\r\n    x='\u5229\u76ca',\r\n    nbins=100,\r\n    title='Histogram (value)'\r\n)\r\nfig.show()<\/code><\/pre>\n<p><iframe loading=\"lazy\" src=\"https:\/\/gri.jp\/media\/wp\/wp-content\/uploads\/2022\/06\/Histogram_value.html\" width=\"1080\" height=\"1080\"><\/iframe><\/p>\n<h3>\u30d2\u30b9\u30c8\u30b0\u30e9\u30e0\uff08\u30ab\u30c6\u30b4\u30ea\uff09<\/h3>\n<pre class=\"language-python\"><code>import plotly.express as px\r\n\r\nfig = px.histogram(\r\n    data_frame=df,\r\n    x='\u30aa\u30fc\u30c0\u30fc\u65e5\uff08\u6708\uff09',\r\n    title='Histogram (category)'\r\n)\r\nfig.show()<\/code><\/pre>\n<p><iframe loading=\"lazy\" src=\"https:\/\/gri.jp\/media\/wp\/wp-content\/uploads\/2022\/06\/Histogram_category.html\" width=\"1080\" height=\"1080\"><\/iframe><\/p>\n<h3>\u30dc\u30c3\u30af\u30b9\u30d7\u30ed\u30c3\u30c8<\/h3>\n<pre class=\"language-python\"><code>import plotly.express as px\r\n\r\nfig = px.box(\r\n    data_frame=df,\r\n    x='\u30aa\u30fc\u30c0\u30fc\u65e5\uff08\u6708\uff09',\r\n    y='\u5229\u76ca',\r\n    title='Box plot'\r\n)\r\nfig.show()<\/code><\/pre>\n<p><iframe loading=\"lazy\" src=\"https:\/\/gri.jp\/media\/wp\/wp-content\/uploads\/2022\/06\/Box.html\" width=\"1080\" height=\"1080\"><\/iframe><\/p>\n<h3>\u30d0\u30a4\u30aa\u30ea\u30f3\u30d7\u30ed\u30c3\u30c8<\/h3>\n<pre class=\"language-python\"><code>import plotly.express as px\r\n\r\nfig = px.violin(\r\n    data_frame=df,\r\n    x='\u30aa\u30fc\u30c0\u30fc\u65e5\uff08\u6708\uff09',\r\n    y='\u5229\u76ca',\r\n    color='\u9867\u5ba2\u533a\u5206',\r\n    title='Violin plot'\r\n)\r\nfig.show()<\/code><\/pre>\n<p><iframe loading=\"lazy\" src=\"https:\/\/gri.jp\/media\/wp\/wp-content\/uploads\/2022\/06\/Violin.html\" width=\"1080\" height=\"1080\"><\/iframe>\u203by\u8ef8\u30920\u4ed8\u8fd1\u306b\u3059\u308b\u3068\u898b\u3048\u307e\u3059<\/p>\n<h3>\u30d2\u30fc\u30c8\u30de\u30c3\u30d7<\/h3>\n<pre class=\"language-python\"><code>import plotly.express as px\r\n\r\nfig = px.density_heatmap(\r\n    data_frame=df,\r\n    x='\u30aa\u30fc\u30c0\u30fc\u65e5\uff08\u5e74\uff09',\r\n    y='\u30aa\u30fc\u30c0\u30fc\u65e5\uff08\u6708\uff09',\r\n    z='\u5229\u76ca',\r\n    title='Heatmap'\r\n)\r\nfig.show()<\/code><\/pre>\n<p><iframe loading=\"lazy\" src=\"https:\/\/gri.jp\/media\/wp\/wp-content\/uploads\/2022\/06\/Heatmap.html\" width=\"1080\" height=\"1080\"><\/iframe><\/p>\n<h3>\u7b49\u9ad8\u7dda<\/h3>\n<pre class=\"language-python\"><code>import plotly.express as px\r\n\r\nfig = px.density_contour(\r\n    data_frame=df,\r\n    x='\u58f2\u4e0a',\r\n    y='\u5229\u76ca',\r\n    color='\u90fd\u9053\u5e9c\u770c',\r\n    title='Density Contours'\r\n)\r\nfig.show()<\/code><\/pre>\n<p><iframe loading=\"lazy\" src=\"https:\/\/gri.jp\/media\/wp\/wp-content\/uploads\/2022\/06\/Coutours.html\" width=\"1080\" height=\"1080\"><\/iframe>\u203bx\u8ef8\u3001y\u8ef8\u30920\u4ed8\u8fd1\u306b\u3059\u308b\u3068\u898b\u3048\u307e\u3059<\/p>\n<h2>\u4e09\u6b21\u5143<\/h2>\n<h3>\u4e09\u6b21\u5143\u6563\u5e03\u56f3<\/h3>\n<pre class=\"language-python\"><code>import plotly.express as px\r\n\r\nfig = px.scatter_3d(\r\n    data_frame=df,\r\n    x='\u58f2\u4e0a',\r\n    y='\u5229\u76ca',\r\n    z='\u5272\u5f15\u7387',\r\n    color='\u30ab\u30c6\u30b4\u30ea',\r\n    title='3D Scatter plot'\r\n)\r\nfig.show()<\/code><\/pre>\n<p><iframe loading=\"lazy\" src=\"https:\/\/gri.jp\/media\/wp\/wp-content\/uploads\/2022\/06\/3DScatter.html\" width=\"1080\" height=\"1080\"><\/iframe><\/p>\n<p>\u3068\u3044\u3046\u308f\u3051\u3067 Plotly\u3067\u8272\u3005\u53ef\u8996\u5316\u3057\u3066\u307f\u307e\u3057\u305f\u3002\u5c11\u306a\u3044\u30b3\u30fc\u30c9\u91cf\u3067\u3001\u8133\u6b7b\u3067\u3082\u30ea\u30c3\u30c1\u306a\u30b0\u30e9\u30d5\u3092\u66f8\u3051\u308b\u306e\u304c\u6700\u5927\u306e\u5f37\u307f\u3060\u3068\u601d\u3044\u307e\u3059\u3002\u305c\u3072\u4f7f\u3063\u3066\u307f\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>\u6700\u5f8c\u307e\u3067\u8aad\u3093\u3067\u3044\u305f\u3060\u304d\u3042\u308a\u304c\u3068\u3046\u3054\u3056\u3044\u307e\u3057\u305f\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u3053\u3093\u306b\u3061\u306f\u3001\u7686\u3055\u3093 Jupyter\u306a\u3069\u3067\u30c7\u30fc\u30bf\u5206\u6790\u3092\u3084\u3063\u3066\u3044\u308b\u3068\u304d\u306b\u30b0\u30e9\u30d5\u306e\u4f5c\u6210\u306f\u4f55\u3092\u4f7f\u3063\u3066\u3044\u307e\u3059\u304b\uff1fMatplotlib\u3084 Seaborn\u304c\u3059\u3050\u306b\u601d\u3044\u6d6e\u304b\u3076\u3068\u601d\u3044\u307e\u3059\u304c\u3001\u6563\u5e03\u56f3\u3092\u66f8\u3044\u305f\u3068\u304d\u306b\u5916\u308c\u5024\u304c\u539f\u56e0\u3067\u898b\u305f\u3044\u9818\u57df\u304c\u5168<\/p>\n","protected":false},"author":35,"featured_media":3911,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[144,4,100,130],"tags":[],"class_list":["post-7921","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-python","category-datascience","category-technical","category-try"],"acf":[],"meta_field":{"_edit_lock":["1672207143:35"],"_edit_last":["6"],"_thumbnail_id":["3911"],"hidden_toppage":["0"],"_hidden_toppage":["field_61933136630d2"],"note_url":[""],"_note_url":["field_61243c8278b90"],"_oembed_9659a59fb50e7c5cef260fd18a7e3c80":["{{unknown}}"],"recommend_posts":["\u304a\u3059\u3059\u3081\u8a18\u4e8b\u306b\u3059\u308b"],"_pv_count":["a:24:{i:16;i:1582;i:13;i:1431;i:20;i:692;i:11;i:1387;i:17;i:1402;i:5;i:153;i:14;i:1654;i:3;i:175;i:7;i:307;i:19;i:756;i:18;i:989;i:15;i:1616;i:9;i:1054;i:10;i:1252;i:6;i:205;i:22;i:701;i:0;i:431;i:1;i:509;i:21;i:772;i:23;i:613;i:12;i:970;i:8;i:644;i:2;i:278;i:4;i:133;}"],"pv_count":["19704"]},"_links":{"self":[{"href":"https:\/\/gri.jp\/media\/wp-json\/wp\/v2\/posts\/7921","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/gri.jp\/media\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/gri.jp\/media\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/gri.jp\/media\/wp-json\/wp\/v2\/users\/35"}],"replies":[{"embeddable":true,"href":"https:\/\/gri.jp\/media\/wp-json\/wp\/v2\/comments?post=7921"}],"version-history":[{"count":12,"href":"https:\/\/gri.jp\/media\/wp-json\/wp\/v2\/posts\/7921\/revisions"}],"predecessor-version":[{"id":9758,"href":"https:\/\/gri.jp\/media\/wp-json\/wp\/v2\/posts\/7921\/revisions\/9758"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/gri.jp\/media\/wp-json\/wp\/v2\/media\/3911"}],"wp:attachment":[{"href":"https:\/\/gri.jp\/media\/wp-json\/wp\/v2\/media?parent=7921"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/gri.jp\/media\/wp-json\/wp\/v2\/categories?post=7921"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/gri.jp\/media\/wp-json\/wp\/v2\/tags?post=7921"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}