bar and pieChart
✓ Published1🌍 Public
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.
AI-generated descriptionA bare minimum HTML page.
See also React Starter.
MIT Licensed