{"version":"1.0","type":"rich","title":"scatterplot with legend D3","description":"This scatterplot displays the relationship between car weight and fuel economy (mpg), with each point colored by the number of cylinders. The visualization uses d3.csv to load data, d3.scaleLinear for both axes, and d3.scaleOrdinal with a color scale to encode cylinder counts. A d3.legendColor component from the d3-legend library provides the color legend. The SVG chart includes labeled axes and a title, with circles positioned using x and y scales and rendered via D3 v7.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/3ee0f9f861fb4937856c2600b266c0b7?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}