{"version":"1.0","type":"rich","title":"Happiness Level Line Chart","description":"This line chart displays life satisfaction trends across countries from 2004 to 2017, using data from the World Happiness Report. A dropdown menu lets viewers switch between variables like GDP per capita, social support, and freedom, with each country represented by a colored line via d3.nest and d3.scaleOrdinal. The visualization uses d3.line with curveBasis for smooth paths, d3.axisLeft and d3.axisBottom with tick marks, and an SVG color legend. It renders as SVG with d3.v5, updating the view dynamically through a custom lineChart function.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/2de2b0f456ad4235b1c5973dc637b56b?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}