D3
OG
Old school D3 from simpler times
All examples
By author
By category
About
martinjc
Full window
Github gist
Scatterplot with scales, axes and transitions (Data: randomly generated)
Simple D3 scatterplot with axes, scales and transitions
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>CMT212 Lab Week 2</title> <link rel="stylesheet" href="../base.css"> <script src="//d3js.org/d3.v4.min.js" charset="utf-8"></script> </head> <body> <input type="button" onclick="update()" value="Update"/> <input type="range" value="50" min="0" max="100" id="maximum"> <div id="vis"> </div> <script src="script.js"></script> </body> </html>
https://d3js.org/d3.v4.min.js