D3
OG
Old school D3 from simpler times
All examples
By author
By category
About
aaizemberg
Full window
Github gist
svg circles using Raphael.js
<!DOCTYPE html> <html> <head> <script src="//cdnjs.cloudflare.com/ajax/libs/raphael/2.1.0/raphael-min.js"></script> <meta charset="utf-8"> <title>SVG desde Raphael</title> </head> <body> <script> var w = 960,h = 500, λ = 0.1; var paper = Raphael(0, 0, w, h); var r, cant = 100; for (i = 1; i <= cant; i++) { r = 25 * i; paper.circle( i*(w/(cant+1)), h/2, r * λ); } </script> </body> </html>
https://cdnjs.cloudflare.com/ajax/libs/raphael/2.1.0/raphael-min.js