{"version":"1.0","type":"rich","title":"V5 Reusable Examples - Nested data, Chart series - Example 3.2","description":"This example demonstrates nested data aggregation by displaying a bar chart of average sales per fruit across twelve months, with each fruit’s total sales represented as a single bar. The chart uses d3.rollup to group the CSV data by fruit and calculate the sum of sales values. The visualization is built with d3.scaleBand and d3.scaleLinear for positioning, while d3.axisBottom and d3.axisLeft render the axes. The reusable chart pattern follows the ProD3 structure, with the SVG rendered using d3-selection and append methods.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/88838705408b4bb791d09410466f2bec?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}