[FEATURE]: Support Curved-Boundary Bar Charts with Dynamic Phase/Threshold Detection
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 18.8k
- Forks
- 2.8k
- Avg merge
- 16h 26m
- Merged PRs (30d)
- 21
Description
What problem does this feature solve?
In physical domain modeling (such as thermodynamic P-T phase diagrams), industrial monitoring, and multi-parameter threshold analysis, data visualization often requires representing dynamic bar elements within a two-dimensional parameter space that interact with non-linear, curved decision boundaries.
Current Limitations:
- Linear/Static Boundaries: Current shapes/shapes annotations in Plotly primarily target horizontal, vertical, or simple linear lines. Defining polynomial or spline-based curved boundary lines for dynamic spatial partitioning is not natively streamlined.
- Complex Collision Logic: Calculating real-time intersections (collision detection) between moving/resizing bar vertices (e.g., X position = Pressure, Y height = Temperature) and curved thresholds to dynamically update bar styling (e.g., solid, liquid, gas, or custom status) is mathematically complex to implement manually on top of standard trace types.
Expected Experience:
We hope Plotly could consider providing native support or built-in mechanisms for curved decision boundaries. When a bar's position along the X-axis or height along the Y-axis changes, the chart can evaluate its top vertex against curved boundaries to trigger real-time state changes and dynamic styling.
🔗 Live Demo & Repository
- Live Demo: https://cnlnr.github.io/Curved-Boundary-Bar-Chart/
- GitHub Repository: https://github.com/cnlnr/Curved-Boundary-Bar-Chart
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 live demo and repository, then review plotly.py's existing shapes and annotations support described in the issue. No specific file or test is identified; define the API scope and acceptance criteria for curved boundaries, collision detection, and dynamic bar styling before implementation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- data-visualization
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 28/100