{"version":"1.0","type":"rich","title":"10. D3 Drawing Divs Height","description":"Five vertical divs display a bar chart, each bar's height corresponding to a value in a small JavaScript array. The visualization demonstrates how D3 version 4.5.0 maps data to visual properties using a simple pipeline. The code uses `d3.select` to target the body, `selectAll` and `data` to bind the dataset, then `enter` and `append` to create divs with class 'bar'. A style function dynamically sets the `height` attribute in pixels, overriding the initial CSS. This example illustrates D3's core selectors and data-binding methods.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/aaac72848d9645dc85cd6c5a487e3e14?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}