// Generated by CoffeeScript 1.10.0 (function() { var height, line_generator, points_a, points_b, svg, width; points_a = [[480, 30], [800, 250], [780, 250], [480, 470], [260, 250], [160, 280]]; points_b = [[180, 130], [300, 150], [180, 250], [100, 170]]; svg = d3.select('svg'); width = svg.node().getBoundingClientRect().width; height = svg.node().getBoundingClientRect().height; line_generator = d3_shape.line().curve(d3_shape.catmullRomClosed); svg.append('path').datum(points_a).attr({ "class": 'line', d: line_generator, fill: 'orange', stroke: 'orange' }); svg.append('path').datum(points_b).attr({ "class": 'line', d: line_generator, fill: 'steelblue', stroke: 'steelblue' }); }).call(this);