SOURCE

console 命令行工具 X clear

                    
>
console
function click()[
  var line = d3.svg.line()
    .x(function(d) { return d.x; })
    .y(function(d) { return d.y; })
    .interpolate("basis");
  
]
<svg width="100%" height="100%" version="1.1"
xmlns="http://www.w3.org/2000/svg" onclick="click()">

<circle cx="100" cy="50" r="40" stroke="black"
stroke-width="2" fill="red"/>

</svg>

本项目引用的自定义外部资源