{"version":"1.0","type":"rich","title":"MasteringD3js_ReuseProD3_Ch2 pt2.2b","description":"This example demonstrates a reusable bar-code chart pattern built with D3.js v5, displaying multiple rows of temporal data as horizontal barcode-like visualizations. Each row represents a distinct data series with randomly generated date intervals using an exponential distribution. The code implements a modular chart function that creates SVG elements within styled containers, using `d3.scaleTime()` to map date ranges to pixel positions. The example highlights the transition from D3 v3 to v5 practices, showcasing proper data binding, scale construction, and container management in a reusable component pattern.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/2657d65c973d4a9d932dc40a9fac83b8?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}