{"version":"1.0","type":"rich","title":"Learn D3.js","description":"This bar chart visualizes a static dataset of nine numeric values using SVG rectangles. The example demonstrates how to construct a basic chart with the D3.js v4 library. The code sets the SVG canvas dimensions, calculates bar widths based on the data array length, and uses `d3.select` and `selectAll` to append `rect` elements. Each bar’s height and y-position are derived from the data values, with a `transform` attribute translating each rectangle horizontally. The chart is contained within an HTML page with a light background.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/f88c22069b2f4f7086704a48ebeba702?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}