{"version":"1.0","type":"rich","title":"bar and pieChart","description":"This interactive visualization lets users explore the absolute frequencies of categorical values within a dataset, specifically looking at student grades and degree types. The main view is a bar chart that can be toggled to a pie chart, with a dropdown menu to select which category to display. Built with React and D3 v5, it uses `scaleBand`, `scaleLinear`, `axisBottom`, `axisLeft`, and `schemeCategory10` for the bar chart, and `d3.pie`, `d3.arc`, and custom `attrTween` animations for the pie chart. The implementation includes hover tooltips and animated transitions when switching chart types or data columns.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/fc15afc022bf4be38024c5a541abe677?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}