Faceted Search Simulator
About This MicroSim
This MicroSim demonstrates faceted search - the powerful filtering technique used by e-commerce sites and search engines to help users narrow results by multiple dimensions.
Iframe Embed Code
1 2 | |
Description
Available Facets
| Facet | Values | Purpose |
|---|---|---|
| Subject Area | Physics, Chemistry, Math, Biology, CS | Academic discipline |
| Grade Level | Middle School, High School, Undergraduate, Graduate | Target audience |
| Framework | p5.js, D3.js, Three.js | Technical implementation |
| Difficulty | Beginner, Intermediate, Advanced | Complexity level |
How to Use
- Click checkboxes in the facet panel to filter results
- Watch counts update as filters are applied
- Use the search box to filter by title text
- Remove active filters by clicking the × on filter chips
- Navigate pages if results exceed 6 items
- Click "Clear All Filters" to reset
Key Behaviors
- Within facet: Selections use OR logic (Physics OR Chemistry)
- Across facets: Selections use AND logic (Physics AND Undergraduate)
- Live counts: Numbers update to show filtered totals
- Zero-count options: Shown but grayed out
Learning Objectives
After using this MicroSim, students will be able to:
- Use faceted search to filter a collection
- Explain the difference between OR and AND logic in facets
- Observe how filter counts update dynamically
Lesson Plan
Introduction (5 minutes)
- Compare to shopping site filters (size, color, price)
- Why is this better than typing complex boolean queries?
Exploration Activity (10 minutes)
- Start with no filters - observe all 20 MicroSims
- Select "Physics" - watch results and counts update
- Add "Undergraduate" - notice AND behavior
- Select both Physics AND Chemistry - notice OR within facet
- Clear and try different combinations
Analysis Questions (10 minutes)
- How do the counts help you understand the collection?
- What happens when a count shows 0?
- Why might you want multiple values within one facet?
Design Discussion (5 minutes)
- What other facets would be useful for MicroSims?
- How would you handle 1000+ items?
- What if a MicroSim belongs to multiple subjects?