D3
OG
Old school D3 from simpler times
All examples
By author
By category
About
syntagmatic
Full window
Github gist
Wild Spiral
<!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html;charset=utf-8"> <title>Archimedean Spiral</title> <script type="text/javascript" src="https://d3js.org/d3.v2.js"></script> <style> body { font-family: 'Lucida Grande', 'Lucida Sans Unicode', 'Geneva', 'Verdana', sans-serif; margin: 40px; } .axis path { fill: none; stroke: #999; stroke-dasharray: 2 3; } .axis text { font-size: 13px; stroke: #222; } text.title { font-size: 24px; } circle.tick { fill: #f3f3f3; stroke: #999; stroke-dasharray: 2 3; } path.spiral { fill: none; stroke-width: 3px; } </style> </head> <body> <div id="chart"></div> <script type="text/javascript" src="spiral.js"></script> </body> </html>
Modified
http://d3js.org/d3.v2.js
to a secure url
https://d3js.org/d3.v2.js