Fork of React + D3 Viz Starter
This example shows a minimal React + D3 visualization starter template with an empty SVG canvas and visible margin guides. The `VizContainer` component abstracts SVG and group elements, following the margin convention to position inner content. It uses React 16.13.1 and d3.v6, rendering through SVG with dimensions set to 960 by 500 pixels. The code defines margin variables and passes width, height, and inner dimensions as props, with a toggleable `showMargins` prop to display or hide the margin rectangles.