{"version":"1.0","type":"rich","title":"Marks and Channels_3_NH","description":"This example demonstrates marks and channels by encoding a simple array of numbers (0–6) in three different ways: as bar length, circle size, and hue. It uses d3-selection and d3-scale-chromatic’s `schemeCategory10` to map each data value to a distinct color. The visualization renders seven fixed-position elements in an SVG canvas, with the length channel using `rect` elements and the size channel using `circle` elements scaled by the square root of the data. D3’s data join (`selectAll().data().join()`) updates the marks, while the `viz.js` file selectively applies the length encoding.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/d1d6bc5021cf4c2ea485f6027f3cba88?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}