Updated: configuration and app.js with D3