{"version":"1.0","type":"rich","title":"Interactive Legend Bar chart for Alcohol Vs Life Expectancy","description":"This interactive bar chart displays the relationship between alcohol consumption and life expectancy across countries, color-coded by year. Built with D3.js and the d3-legend library, a hoverable color legend lets users isolate specific years from the dataset while other bars fade beneath a semi-transparent overlay. The chart uses stacked bar rendering with ordinal and linear scales, and includes tooltips via d3-tip to show detailed values. Data comes from a Life Expectancy CSV file, with SVG-based animated transitions supporting the visual filtering interaction.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/7850f9a0776746a3bcce17bbef51ef20?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}