{"version":"1.0","type":"rich","title":"26. D3 Bar Chart Heights","description":"A simple bar chart displays twenty numeric values as vertical SVG rectangles. The chart uses a fixed width of 500 pixels and height of 100 pixels, with each bar’s height scaled by a factor of four. The code creates the visualization by selecting the body, appending an SVG element, and binding the dataset using `d3.select`, `.data`, and `.enter()`. Rectangles are positioned using `attr('x')` and `attr('y')`, with width calculated by dividing the total width by the number of data points, minus a one-pixel padding.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/d7df655a4a48440287de049f997b31dc?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}