{"version":"1.0","type":"rich","title":"Algorithm_analysis_Big O","description":"This example demonstrates two JavaScript techniques for calculating the sum of integers from 1 to n: an iterative loop and a direct arithmetic formula. The page renders the computed results for both methods to the browser console using the `console.log` API. The visualization compares the outputs of the loop-based approach against the formula-based approach, highlighting the difference in algorithmic complexity between O(n) and O(1) solutions.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/932180536f9c424984d7d9105dbf8154?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}