Documentation at Data Visualization with D3.js - Week 1
Built with blockbuilder.org
license: mit |
Documentation at Data Visualization with D3.js - Week 1
Built with blockbuilder.org
<!DOCTYPE html> | |
<head> | |
<meta charset="utf-8"> | |
<script src="https://d3js.org/d3.v4.min.js"></script> | |
<style> | |
body { | |
margin: 0; | |
position: fixed; | |
top: 0; | |
right: 0; | |
bottom: 0; | |
left: 0; | |
} | |
circle, path { | |
fill: pink; | |
stroke: gray; | |
} | |
</style> | |
</head> | |
<body> | |
<svg width=960 height=500> | |
<circle cx=205 cy=200 r=45 /> | |
<circle cx=395 cy=200 r=45 /> | |
<path d="M150,300 Q300,450 450,300 L150,300 Z" /> | |
</svg> | |
</body> |