Fork of React + D3 Viz Starter
This example provides a minimal React + D3 starter template for building SVG visualizations. It renders a blank 960x500 SVG canvas with gray margin rectangles visible through the `VizContainer` component, which follows the D3 margin convention using explicit width, height, and margin objects. The code loads React 16, ReactDOM, and D3 v6 via CDN, then uses JSX to compose the SVG structure. The `showMargins` prop toggles the display of the outer and inner guide rectangles, demonstrating how to scaffold a chart before adding custom D3 visualizations.