{"version":"1.0","type":"rich","title":"Value of PI","description":"This interactive visualization demonstrates the Monte Carlo method for estimating the value of π. By randomly placing points within a square, the application calculates the ratio of points falling inside an inscribed circle to the total number of points, updating the π approximation in a readout panel. The React component uses D3.js for SVG rendering and state management. A button adds 100 points per click, instantly updating the counts and the elliptical estimate. The code leverages the `d3.select` API for SVG creation and `useState` for tracking point coordinates and calculations.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/0eae03af2a05412da13319b32197ae77?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}