{"version":"1.0","type":"rich","title":"Let's make a rolling ball with D3.js","description":"This example demonstrates how to build a rolling ball animation using D3.js v5 with SVG rendering. The code constructs a circular graphic with alternating black and orange arc segments using the `d3.arc` generator, then applies transitions to rotate the entire group element. While the primary ball design is commented out, the active code adds a simple paragraph element styled with red text, showing basic SVG selection and manipulation. The implementation imports `select` and `arc` from D3 and includes a custom text measurement utility for calculating string dimensions.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/78d2392635824463a14d4b2966031802?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}