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

Data: sales_data



performance_heatmap

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

Data: performance_data



revenue_by_category

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

Data: product_data



customer_revenue

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

Data: customer_data



survey_results

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

Data: survey_data



transaction_analysis

Count aggregation - showing transaction counts rather than sums or averages

Data: transaction_data



Returns_Over_Last_Few_Days

Stock returns heatmap with MSFT excluded

Data: stockReturns



Correlation_Matrix

Correlation matrix with custom red-white-blue color scale

Data: correlations



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.

Data: multi_data.aa, multi_data.bb, standalone_data



Temporal Data in PivotTables

This example demonstrates handling of different temporal column types in PivotTable:

Try dragging the temporal columns into the Rows or Columns area to see how they are displayed and aggregated.




boxing_matches

Boxing match data with Date, DateTime, and ZonedDateTime columns. Drag date_announced, datetime_fight_starts, or time_of_stoppage into rows/cols to pivot by temporal data.

Data: boxing_data



Key Features Summary

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


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