{"version":"1.0","type":"rich","title":"q1","description":"This interactive bar chart explores movie genres, average revenue, and movie counts across years, with data loaded from a CSV file. The visualization offers five views: alphabetical, by value, by derived metric, stacked, and grouped arrangements. Using D3 v7, the chart employs `d3.scaleBand`, `d3.scaleLinear`, and `d3.scaleOrdinal` with an interpolated color range to distinguish years. The SVG output responds to button clicks that trigger `drawBars` or `drawTwoKeys` functions, dynamically re-sorting and re-rendering the bars. The stacked and grouped modes use `d3.sum` and a shared x-axis for genre and year comparisons.","provider_name":"VizHub","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/2b3bdc355f5f4a1999c4619aea074d29?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\" allow=\"fullscreen\" allowfullscreen></iframe>","width":960,"height":500,"cache_age":3600}