{"version":"1.0","type":"rich","title":"Making a bar chart","description":"This example demonstrates the process of building a bar chart from scratch, beginning with an empty SVG element and then programmatically adding bars and axes. The code uses the D3 v5 library’s `select` function to target the `svg` element and reads its `width` attribute to establish chart dimensions. Rendering is done entirely in SVG, with the page’s layout set to a full-bleed canvas via the `styles.css` file. The example includes a linked video tutorial that explains each step, making it useful for learning fundamental D3 data-binding and shape-generation patterns.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/2e4bca38c06c429f8ae421f65e6d95dc?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}