See here for the example code that generated this page

Waterfall Chart Examples

This page demonstrates the interactive Waterfall chart type in JSPlots.




Example 1: Profit & Loss Statement

A classic use case for waterfall charts: showing how revenue flows through various expenses to net income.

Features demonstrated:




Profit & Loss Statement

Click on bars or table rows to exclude items from the calculation. Use Reset to restore.

Filters

Plot Attributes

Calculation Table

Click on category headers to toggle groups, or individual rows to exclude items


Data: pnl_data




Example 2: Cash Flow Bridge

Show how cash position changes from opening to closing balance through operating, investing, and financing activities.

This example demonstrates:




Cash Flow Bridge - Q1 2024

Waterfall showing cash flow changes. Total bar shows ending cash position.

Plot Attributes

Calculation Table

Click on category headers to toggle groups, or individual rows to exclude items


Data: cash_data




Example 3: Sales Variance Analysis with Filters

Analyze sales variance by breaking down the impact of price, volume, and mix changes.

This example includes:

Try this: Select different regions to see how variance components differ across markets!




Sales Variance Analysis by Region

Use the region filter to switch between markets. Click on variance components to see impact on actual sales.

Filters

Plot Attributes

Calculation Table

Click on category headers to toggle groups, or individual rows to exclude items


Data: variance_data




Example 4: Budget vs Actuals Comparison

Compare budgeted vs actual expenses across departments with multiple filters.

Features:




Budget vs Actuals - Department Variance

Filter by department and year to see specific variances. Red indicates over-budget, green under-budget.

Filters

Plot Attributes

Calculation Table

Click on category headers to toggle groups, or individual rows to exclude items


Data: budget_data




Example 5: Waterfall Chart Without Table

Sometimes you just want the visual without the detailed calculations.

This example shows a waterfall chart with the table disabled (show_table=false).




Simple Waterfall - Chart Only

This waterfall chart has show_table=false, so only the visualization is displayed.

Plot Attributes


Data: simple_data




Example 6: Multiple Color Column Options

This example demonstrates the ability to switch between different category columns.

The same data can be viewed through different lenses - by financial category OR by department.

Features:




Multi-Perspective Waterfall Analysis

Use the Color Column dropdown to switch between financial and departmental views of the same data.

Plot Attributes

Calculation Table

Click on category headers to toggle groups, or individual rows to exclude items


Data: multi_color_data




Summary

The Waterfall chart type provides:

Use Cases

Tips


This page was created using JSPlots.jl.