D3
OG
Old school D3 from simpler times
All examples
By author
By category
About
sannehombroek
Full window
Github gist
gist van linedraw
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>Hier de titel</title> <!--This is a comment. Comments are not displayed in the browser--> <!-- the style elements go in a separate style.css file--> <link rel="stylesheet" type="text/css" href="style.css"> <!-- This loads the most recent version of D3.JS--> <script src="https://d3js.org/d3.v4.min.js"></script> <!-- This refers to the actual D3.js file where you can make the specific visualisation--> <script src='script.js'></script> <body> <!-- tijdelijk erin om te proberen--> <svg width="760" height="140"> <g transform="translate(100, 30)"> <rect /> <rect /> <rect /> <rect /> <rect /> </g> <g transform="translate(100, 30)"> <text /> <text /> <text /> <text /> <text /> </g> <g transform="translate(70, 30)"> <circle /> <circle /> <circle /> <circle /> <circle /> </g> </svg> <div id='enters'> <div></div> </div> <button onClick="doEnter();">hier kan je dingen mee toevoegen </button> </body> </html>
https://d3js.org/d3.v4.min.js