{"version":"1.0","type":"rich","title":"Making a Bar chart","description":"This example demonstrates the initial setup for creating a bar chart with D3 v5. It selects an SVG element and reads its height and width attributes using `d3.select` and `parseFloat`, preparing the canvas dimensions for future data binding and shape rendering. The page loads D3 from a CDN and applies global styling that removes margins and hides overflow. The visualization does not yet display any bars or data; it only establishes the empty SVG container and foundational layout variables.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/ef2a6744279641cdbbffada91942f8ae?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}