took me four prompts to do generate a waterfall chart using d3 js because it didn't want to run it. obviously with real numbers and not generated data, you'd need to check the results thoroughly.