D3
OG
Old school D3 from simpler times
All examples
By author
By category
About
martinjc
Full window
Github gist
D3 Barchart with axes and scales (Data: randomly generated)
Simple barchart in D3, with axes and scales
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>CMT212 Lab Week 2</title> <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