Interactive visualization of the Polish legislative process using the example of a bill banning fur farming. The application allows users to set their own probabilities for each stage of the process and observe how they affect the overall chance of legislative success.
- Interactive controls: Sliders allowing adjustment of probabilities for each stage of the legislative process
- Sankey visualization: Dynamic flow diagram showing transition probabilities between stages
- Zoom and drag: Ability to zoom and pan the diagram
- Real-time statistics: Automatic calculation of total success chance and failure probability
- Export: Ability to export the diagram
- Special Committee - initial project assessment
- 1st Reading in Sejm - general debate
- Sejm Committee - detailed work on the project
- 2nd Reading in Sejm - debate on committee report
- 3rd Reading in Sejm - final vote
- Senat - review by upper chamber
- President - signature, veto, or referral to Constitutional Tribunal
- Final scenarios - veto override, Constitutional Tribunal decision, Senat amendments
- HTML5
- CSS3
- JavaScript (ES6+)
- D3.js v7 - for Sankey visualization
- Clone the repository
- Open
index.htmlfile in browser - Adjust probabilities using sliders
- Observe changes in the Sankey diagram
- Sliders: Automatic adjustment of sums to 100%
- Zoom: Mouse wheel or +/- buttons
- Drag: Hold and drag the diagram
- Reset: Reset button to default values
- Export: Diagram export button
- Veto override requires 3/5 votes in Sejm (276 out of 460 MPs)
- President has 21 days to make a decision
- Senat amendments can be accepted by simple majority in Sejm