D3 energy chart

Added in D3 for the energy display and made it responsive to the window size