D3
OG
Old school D3 from simpler times
All examples
By author
By category
About
martinjc
Full window
Github gist
D3 barchart with axes, scales and transitions (Data: randomly generated)
<!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> <style> .labels { fill: white; } </style> </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