{"version":"1.0","type":"rich","title":"73. D3 Clip Path","description":"This example demonstrates a dynamic scatterplot of 50 randomly generated data points, where each point is represented as a circle. The visualization updates its scales and redraws the circles and axes when the user clicks on the text prompt, with each update using a transition that briefly highlights the circles in magenta before returning them to black. The code uses D3.js version 4.5.0 to define linear scales for the x and y axes, an SVG clipping path to contain the plot area, and transition methods to animate the data updates.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/c1df2cf98f624ff4879587bdcd154315?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}