D3
OG
Old school D3 from simpler times
All examples
By author
By category
About
BastiTee
Full window
Github gist
d3v4: Donut chart with externalized legend
<!doctype html> <head> <meta charset="utf-8"> <base target="_blank"> <link rel="stylesheet" href="https://bastitee.github.io/d3-workbench-ghp/0.1.0-pre/d3-wb.min.css" type="text/css"> <script src="https://bastitee.github.io/d3-workbench-ghp/0.1.0-pre/d3-wb.min.js"></script> <style> @import url('https://fonts.googleapis.com/css?family=Roboto+Condensed:300'); * { font-family: 'Roboto Condensed', monospace; } </style> </head> <body id="standalone-body"> <svg id="standalone-svg"></svg> </body> <script src="svg.js"></script>
https://bastitee.github.io/d3-workbench-ghp/0.1.0-pre/d3-wb.min.js