webpackJsonp([3],{BBDf:function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r=e("vwbq"),a={name:"Scatterplot",data:function(){return{}},created:function(){this.$nextTick(function(){var t=[[5,20],[480,90],[250,50],[100,33],[330,95],[410,12],[475,44],[25,67],[85,21],[220,88],[600,150]],n=r.k().domain([0,r.h(t,function(t){return t[0]})]).range([20,460]),e=r.k().domain([0,r.h(t,function(t){return t[1]})]).range([80,20]),a=r.k().domain([0,r.h(t,function(t){return t[1]})]).range([2,5]),i=r.m("#scatterplot .main").append("svg").attr("width",500).attr("height",100);i.selectAll("circle").data(t).enter().append("circle").attr("cx",function(t){return n(t[0])}).attr("cy",function(t){return e(t[1])}).attr("r",function(t){return a(t[1])}),i.selectAll("text").data(t).enter().append("text").text(function(t){return t[0]+","+t[1]}).attr("x",function(t){return n(t[0])}).attr("y",function(t){return e(t[1])}).attr("font-family","sans-serif").attr("font-size","11px").attr("fill","red")})}},i={render:function(){this.$createElement;this._self._c;return this._m(0)},staticRenderFns:[function(){var t=this.$createElement,n=this._self._c||t;return n("div",{attrs:{id:"scatterplot"}},[n("h3",{staticClass:"title"},[this._v("散布图")]),this._v(" "),n("div",{staticClass:"main"})])}]};var c=e("VU/8")(a,i,!1,function(t){e("Y3Gp")},"data-v-ecb9a128",null);n.default=c.exports},Y3Gp:function(t,n){}});
//# sourceMappingURL=3.b255c706e0c19aec8eb3.js.map