{"version":"1.0","type":"rich","title":"new","description":"This example demonstrates how to construct a color legend using the d3.legend library, pairing it with a quantized color scale from the D3.js API. It renders seven circles whose radii and fill colors correspond to an array of data values, mapped through the color scale to a nine-step Blues palette. The SVG output visually ties the legend's swatches to the circles' color encoding.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/3eca7249dfd5470fb2dc472a56fdba38?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}