{"version":"1.0","type":"rich","title":"Fork of Color and Size Legends","description":"This fork of the color and size legends example displays separate reusable legend components, each implemented as a D3.js module. The color legend maps a categorical ordinal scale to colored circles, while the size legend (present but commented out) maps a quantitative square-root scale to varying circle radii. Both use D3 v5’s selection API and `scaleOrdinal`/`scaleSqrt` with an SVG `g`-based tick layout, with text labels offset from the shapes.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/6d87216fb8e44a26a34f3b7f9d382330?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}