Graphing database and visualizations controlled by node.js