{"version":"1.0","type":"rich","title":"Learn D3.js","description":"This example shows a simple bar chart built with D3.js v4, where each bar’s height corresponds to a value from a hardcoded JavaScript array of nine numbers. The chart is rendered as SVG inside an HTML page, with a title and a dedicated `<svg>` element. The code uses `d3.select` to set the SVG dimensions, `selectAll` with `data` and `enter` to create rectangles, and `attr` to position each bar via a `translate` transform based on its index. The bars are drawn from the bottom, using the SVG height minus the data value for the y-coordinate.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/68e696e4d77549238077251e17b962ef?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}