Repository navigation
feat(core): support interactive cross-filtering on charts (#1111) - #3324
Closed
FrancescoCastaldi wants to merge 1 commit into
Closed
FrancescoCastaldi wants to merge 1 commit into
FrancescoCastaldi wants to merge 1 commit into
Conversation
…ev#1111) - add CROSS_FILTER_ATTRIBUTES schema definition (cross_filter, cross_filter_column, cross_filter_multiple) - add setupCrossFilter utility for click-to-filter interaction with single-select and multi-select support - support cross-filtering in combo_chart (bar, line, area, scatter, bubble), horizontal_bar_chart, pie_chart, funnel_chart, and treemap - exclude active cross-filter ID from chart's own query to prevent self-filtering - add unit tests for cross-filtering logic and schema validation
|
Someone is attempting to deploy a commit to the Evidence Team on Vercel. A member of the Team first needs to authorize it. |
Author
|
Hi @archiewood @hughess! 👋 This implements cross-filtering across Evidence charts (#1111). Whenever you have a moment, could you please take a look and approve the CI workflow? Thanks! |
Member
|
@FrancescoCastaldi thanks for this PR! We actually have cross-filtering coming out in the next few weeks, so I am going to close this one. Stay tuned for the cross-filtering release! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #1111
Description
This PR introduces native Cross-Filtering support across Evidence chart components (
bar_chart,line_chart,area_chart,scatter_chart,bubble_chart,horizontal_bar_chart,pie_chart,funnel_chart,treemap, andcombo_chart).Cross-filtering allows users to click on a bar, slice, stage, or data point in one chart to immediately filter all other charts, tables, and KPI metrics on the page, persisting the filter state in the URL.
Features
cross_filter=true: Enables cross-filtering on the primary dimension column (xorcategory).cross_filter="my_filter": Binds the clicked value to a specific filter name.cross_filter_column="col": Explicitly specifies the filtered database column.cross_filter_multiple=true: Allows multi-selection across multiple clicks.Filtersstate and updates URL search parameters for shareable URLs.cross-filter.test.tscovering single-select toggles, multi-select arrays, value extraction, and schema definitions.