TufteGraph is a JS library by which you can easily create graphs. All the configuration is by dynamic functions, allowing for a really compact API (very few options). Also, Non-core layout is done via CSS rather than code. You can customize the style of graph by editing it’s CSS.