See here for the example code that generated this page

PivotTable Examples

This page demonstrates the key features of interactive PivotTable plots in JSPlots.

Tip: Drag and drop fields between Rows, Columns, and Values to reorganize!




sales_pivot

Basic pivot table - drag fields to reorganize rows and columns




performance_heatmap

Custom color scale heatmap - green indicates good performance, red needs improvement




revenue_by_category

Bar chart renderer - switch renderer in the dropdown to see other visualizations




customer_revenue

Exclusions feature - 'Test' country data is automatically filtered out




survey_results

Inclusions feature - only showing ages 18-45, filtering out older demographics




transaction_analysis

Count aggregation - showing transaction counts rather than sums or averages




Returns_Over_Last_Few_Days

Stock returns heatmap with MSFT excluded




Correlation_Matrix

Correlation matrix with custom red-white-blue color scale




Dataset Selection Feature

This example demonstrates the new dataset selection feature in PivotTable. When multiple datasets are provided, a dropdown appears allowing you to switch between them dynamically.

How it works:

Try switching between the three datasets using the dropdown above the pivot table!




dataset_selector_demo

Dataset selection demo - use the dropdown above to switch between three different datasets. The pivot table will reload with the new data while preserving your row/column selections where possible.




Key Features Summary

Tip: Try dragging unused fields from the top into Rows or Columns!


This page was created using JSPlots.jl v0.4.0.