Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <h3>D3 Circle</h3>
- <script>
- d3.select("body")
- .append("svg")
- .attr("width", 50)
- .attr("height", 50)
- .append("circle")
- .attr("cx", 25)
- .attr("cy", 25)
- .attr("r", 25)
- .style("fill", "purple");
- </script>
- <h3>D3 Text</h3>
- <script>
- d3.select("body")
- .append("svg")
- .attr("width", 50)
- .attr("height", 50)
- .append("text")
- .attr("x", 0)
- .attr("y", 15)
- .text("Essay");
- </script>
Add Comment
Please, Sign In to add comment