{"version":"1.0","type":"rich","title":"Make charts with D3.js","description":"This example shows a minimal HTML page that uses D3.js to select an SVG element and change its background color to red. The code loads D3 v7 from a CDN, then uses `d3.select` to target the `<svg>` and the `style` method to apply the background color. It also logs the selection to the console for inspection. The page demonstrates basic D3 selection and styling with a simple, declarative approach, serving as a starting point for building more complex charts.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/d557a4bc5f3d4e37b220f030c11abde1?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}