{"version":"1.0","type":"rich","title":"React + D3 + useData Viz Starter","description":"This example demonstrates a minimal React and D3 starter template for building SVG visualizations. It shows how to fetch and parse a CSV dataset from a GitHub gist using a custom `useData` hook that leverages `d3.csv`, and renders the results inside a reusable `VizContainer` component. The container abstracts the SVG and group elements while following a standard margin convention; an optional `showMargins` prop displays placeholder rectangles to visualize the plotting area. The code highlights the integration of React’s state management via `useState` and `useEffect` with D3’s data loading and SVG rendering.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/35bee3bdebf44c4bb0f6afcfe1bb0489?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}