Overview
Effect scatter charts are an enhanced version of scatter charts that add dynamic visual effects, such as ripple animations, to emphasize important data points. These animated effects are particularly useful for drawing attention to specific data points or creating dynamic, eye-catching visualizations.When to Use
Use effect scatter charts when you need to:- Highlight important or special data points with animation
- Draw user attention to specific events or outliers
- Create dynamic visualizations that emphasize temporal or important data
- Visualize events on maps (earthquakes, weather events, etc.)
- Show real-time data updates with visual emphasis
- Add visual interest to scatter plots for presentations
Basic Configuration
The effect scatter chart is configured through theEffectScatterSeriesOption interface, supporting the same coordinate systems as regular scatter charts.
Complete Example
Key Options
Controls when the ripple effect is displayed:
'render': Show effect continuously from initial render'emphasis': Show effect only when hovering over the data point
Configuration for the ripple animation effect.
Duration of a single ripple animation cycle in seconds.
Maximum scale of the ripple relative to the symbol size. A value of 2.5 means the ripple grows to 250% of the original symbol size.
Rendering style of the ripple:
'fill': Filled ripple circles'stroke': Outlined ripple circles
Number of ripple waves to display simultaneously.
The coordinate system to use. Effect scatter charts support:
'cartesian2d': 2D rectangular coordinate system (default)'polar': Polar coordinate system'geo': Geographic coordinate system'calendar': Calendar coordinate system'singleAxis': Single axis
Size of the base symbol. Can be a number or a function for dynamic sizing.
Visual style of the scatter points.
Visual emphasis configuration for hover states.
Data Format
Effect scatter chart data supports the same formats as regular scatter charts:Advanced Features
Effect on Hover Only
Earthquake Visualization on Map
Per-Item Ripple Configuration
Real-Time Event Monitoring
Combining with Regular Scatter
Performance Considerations
-
Limit ripple effects: Too many animated points can impact performance. Consider using
showEffectOn: 'emphasis'for datasets with many points. -
Reduce ripple complexity: Use fewer ripples and shorter periods for better performance:
-
Filter important points: For large datasets, use effect scatter only for the most important points:
Source Reference
The effect scatter chart implementation can be found in:- Series model:
src/chart/effectScatter/EffectScatterSeries.ts:94-156 - Type definitions:
src/chart/effectScatter/EffectScatterSeries.ts:46-93 - Default options:
src/chart/effectScatter/EffectScatterSeries.ts:110-155 - Ripple effect options:
src/chart/effectScatter/EffectScatterSeries.ts:64,90,125-133