{"version":"1.0","type":"rich","title":"Fork of React + D3 Viz Starter","description":"This example demonstrates a bare-bones starter template for combining React with D3.js. It shows a simple layout with gray and light-gray rectangles representing the SVG canvas and the inner plotting area, separated by visible margins. The code uses React’s `createElement` pattern and a reusable `VizContainer` component that abstracts standard margin conventions and renders an SVG `<g>` group. D3 v6 is loaded via CDN, and the setup uses ReactDOM to mount the visualization, with the margin rectangles toggled by a `showMargins` prop.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/a2b91b14bedb4034b4c74b0a2d186b8b?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}