Y-axis (Trading Activity): Recent market volatility and volume
Z-axis (24h Return): Expected stock return over next 24 hours (%)
Grouping Schemes: Use the dropdown to switch between different groupings:
Industry: Group by GICS sector (Technology, Financials, Healthcare, Energy, Consumer, Industrials)
Country: Group by geographic region (USA, UK, Germany, Japan, China)
Key Insights:
Each grouping reveals different patterns in the data
Technology and Healthcare sectors tend to show higher returns
Different countries have different return profiles based on local market conditions
The L1/L2 toggle allows switching between robust (median) and smooth (mean) fits
Stock Returns - Switchable Grouping
Use the grouping scheme dropdown to switch between Industry and Country groupings. Colors and surfaces update automatically.
Plot Attributes
Defaults
Groups (click to toggle visibility)
1.0(0.25 - 2.5)
Data: finance_data
Example 4: Using Choices (Single-Select)
This example demonstrates the difference between choices and filters using the financial dataset:
Industry (choice): Single-select dropdown - pick exactly ONE industry at a time
Country (filter): Multi-select dropdown - can select multiple countries simultaneously
Use choices when the user must select exactly one option, such as comparing one industry's 3D surface against filtered country subsets.
Example 4: Single-Select Industry Choice
This example demonstrates the difference between choices and filters:
- **Industry (choice)**: Single-select dropdown - pick exactly ONE industry at a time
- **Country (filter)**: Multi-select dropdown - can select multiple countries
Use choices when the user must select exactly one option.
Filters
Plot Attributes
Defaults
Groups (click to toggle visibility)
1.0(0.25 - 2.5)
Data: finance_data
Summary
ScatterSurface3D combines 3D scatter plots with fitted surfaces:
Key Features
Fitted Surfaces: Automatically fit smooth surfaces to point clouds
Multiple Smoothing Levels: Pre-compute surfaces at different smoothing parameters
Group-Specific Defaults: Each group can have its own optimal smoothing parameter
Interactive Controls:
Toggle all surfaces on/off
Toggle all points on/off
Toggle individual groups by clicking color buttons
Select smoothing parameter or use group defaults
Customizable: Provide your own surface fitting function