Analysis

Design An Interactive Data Visualization

Specifies an interactive exploration tool for a dataset's dimensions and metrics, covering layout, filter and drill-down behavior between named levels, comparison views, hover details, transitions, and the default view a user sees before touching anything. Adds a tool-specific implementation plan and performance notes for the expected row count, plus working Plotly Dash or Streamlit prototype code when the target tool is Python-based.

Prompt
Design an interactive visualization for exploring {dataset_description}.

Data dimensions: {dimensions}
Key metrics: {metrics}
Expected user interactions:
- Filter by {filter_criteria}
- Drill down from {drill_from} to {drill_to}
- Compare {compare_metric} across {compare_dimension}
- Hover to see {hover_details}

Deliver:
1. A layout specification (what sits where)
2. Interaction design (what happens on click/hover/filter)
3. Transitions and animations for user actions
4. The default view before any interaction
5. An implementation plan for {tool}
6. Performance notes for {row_count} rows of data

If the tool is Python-based (Plotly Dash, Streamlit), include working prototype code.
Download .md

Variables