D3
OG
Old school D3 from simpler times
All examples
By author
By category
About
sogokyo
Full window
Github gist
d3.svg template
Built with
blockbuilder.org
<!DOCTYPE html> <html> <head> <title></title> <meta charset="utf-8"> <script src="https://d3js.org/d3.v4.min.js"></script> <style> text {font-family:Avenir-Light;font-size:14px}; body {margin:0; position:fixed; top:0; right:0; bottom:0;} </style> </head> <body> <script> //global variables //create new svg element //declare data //create new group and append rects to it //geometry and style the rects //create some labels for the bars //position labels and write text </script> </body> </html>
https://d3js.org/d3.v4.min.js