Interactive Waterfall Chart Excel Template (VBA and Python)
This Excel template built interactive Plotly waterfall charts with one click: VBA read the data and settings from the sheet, and a Python script drew the chart and exported it as HTML, JPEG or PDF. The download is no longer available. To get the same chart today, build it in Python with Plotly, use my free chart maker, or use Deltaline inside Excel.
What the template did
The workbook had the data on the left (a measure column, an optional text label and an optional hover text per bar) and a settings table on the right. Clicking Create Waterfall Chart passed both to Python, which drew the chart with Plotly. Negative values were drawn as decreasing bars.

The settings covered the chart title (with optional HTML tags), fonts, the colors of decreasing, increasing and total bars (RGB, hex code or color name), whether the value labels sit inside or outside the bars, the x-axis line and its style, the start of the y-axis, the gap between bars and the connector lines.

An Output block set the file name and whether to save the chart as HTML, JPEG and PDF in the workbook’s folder.

When a setting was invalid, the template showed Plotly’s error in a message box and wrote an error log. In this example the color was typed in a format Plotly does not accept, and the message lists the formats it does.

Build the chart yourself
The template needed Python on the PC, the path to Python in its settings, and these packages. The same packages are all you need to build the chart with your own script:
pip install kaleido
pip install plotly
pip install pandas
My Plotly waterfall tutorial builds the same chart from an Excel range, and running a Python script from Excel with VBA shows the button part the template used. HTML export needs only Plotly. For JPEG and PDF, current Plotly versions need Kaleido 1.0 or newer, which uses a Chrome or Chromium installed on your machine.
Without Python
Two options need no Python, and both work from the data you already have in Excel.
The free chart maker draws a waterfall chart from pasted Excel cells and exports it as interactive HTML, PNG or SVG. Inside Excel, my add-in Deltaline builds bridge charts, for example from last year’s EBIT to this year’s, linked to your table.
