D3
OG
Old school D3 from simpler times
All examples
By author
By category
About
alejandroservinarroyo
Full window
Github gist
Exercise 2 Logo SVG
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>SVG Test</title> <script type="text/javascript" src="https://d3js.org/d3.v3.js"></script> <style type="text/css"> body { background-color: "white"; } svg { background-color: white; } </style> </head> <body> <svg width="500" height="200"> <circle cx="130" cy="80" r="50" fill="navy" /> <text x="208" y="100" fill="navy" font-size="42" font-weight="bold" font-family="Helvetica">Antropomedia</text> </svg> <script type="text/javascript"> // Your D3 code will go here </script> </body> </html>
Modified
http://d3js.org/d3.v3.js
to a secure url
https://d3js.org/d3.v3.js