How do you filter data in a particular plot?
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 1.4k
- Forks
- 123
- Avg merge
- 2d 6h
- Merged PRs (30d)
- 26
Description
From the documentation, I can see examples of filtering the entire dataset up-front, like in the example: https://uwdata.github.io/mosaic/examples/ in which we provide { where: "Symbol = 'AAPL'" } to filter just for AAPL.
I can't find an example or documentation of loading a larger dataset and showing subsets of it. Like, if in that example, we wanted a page in which we had AAPL, MSFT, and a few other stocks or whatever - in separate plots, how would that work? We probably wouldn't want to set up the executor again?
There's documentation for a query builder, but I don't see how this hooks up to charts: https://uwdata.github.io/mosaic/sql/
There's documentation for methods that seem like they create filtered sub-tables from parquet files: https://uwdata.github.io/mosaic/api/sql/data-loading.html
Is there a way to show a chart of data from a parquet file, but not all the data in the parquet file?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the linked Mosaic examples, query builder documentation, and SQL data-loading API documentation. Determine how filtered subsets from a parquet file connect to charts without setting up the executor again, then document the supported workflow with an example covering multiple filtered plots.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- sql
- Domain
- data-visualization, documentation
- Issue type
- Documentation
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100