{"version":"1.0","type":"rich","title":"Fork of Fork of Color and Size Legends","description":"Two adjustable legends, one for color and one for size, are rendered in a single SVG. The color legend maps a categorical scale to a column of labeled circles, while the size legend uses a square-root scale to show proportionally sized bubbles with tick values. The reusable `colorLegend` and `sizeLegend` functions drive the SVG generation, leveraging d3's scale functions and selection merging to update the display.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/7bc6f925b89e4528b4fa8b55ec83c10f?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}