{"version":"1.0","type":"rich","title":"Bar Chart in D3","description":"This bar chart displays the maximum hours of music listened to per day across surveyed ages, omitting ages not present in the dataset. It uses D3 v7 to load a CSV file, aggregates the data with `d3.group`, and computes the maximum per age via `d3.max`. The SVG rendering uses `d3.scaleBand` for the x-axis and `d3.scaleLinear` for the y-axis, with axes labeled using `d3.axisBottom` and `d3.axisLeft`. Bars are purple rectangles with white value labels, and hovering over a bar changes its fill to mediumpurple.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/5572f10f5ac8491f96a800804e1c1f3e?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}