{"version":"1.0","type":"rich","title":"rankChoiceVoting","description":"This example simulates ranked-choice voting for four candidates across a population of 100 million fictional voters, using JavaScript to generate random preference permutations. It demonstrates the instant-runoff process by tallying first-choice votes, eliminating the lowest-scoring candidate, redistributing those ballots to their next preferred choice, and repeating until a majority winner emerges. The console output shows the round-by-round counts and declares the final winner, illustrating how the algorithm handles vote transfers and majority thresholds.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/b0605d4f7c194ea6bf4881f2a5dd754a?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}