feat: add bar chart toggle to dashboard

Added visx bar chart component with rounded corners and grow animation.
Dashboard now has area/bar toggle buttons next to the export icon.
This commit is contained in:
Usman Baig
2026-03-21 22:55:19 +01:00
parent 9e128c4945
commit 830da49c5f
4 changed files with 966 additions and 35 deletions

14
package-lock.json generated
View File

@@ -21,6 +21,7 @@
"@types/d3": "^7.4.3",
"@visx/curve": "^3.12.0",
"@visx/event": "^3.12.0",
"@visx/gradient": "^3.12.0",
"@visx/grid": "^3.12.0",
"@visx/responsive": "^3.12.0",
"@visx/scale": "^3.12.0",
@@ -6769,6 +6770,19 @@
"@visx/point": "3.12.0"
}
},
"node_modules/@visx/gradient": {
"version": "3.12.0",
"resolved": "https://registry.npmjs.org/@visx/gradient/-/gradient-3.12.0.tgz",
"integrity": "sha512-QRatjjdUEPbcp4pqRca1JlChpAnmmIAO3r3ZscLK7D1xEIANlIjzjl3uNgrmseYmBAYyPCcJH8Zru07R97ovOg==",
"license": "MIT",
"dependencies": {
"@types/react": "*",
"prop-types": "^15.5.7"
},
"peerDependencies": {
"react": "^16.0.0-0 || ^17.0.0-0 || ^18.0.0-0"
}
},
"node_modules/@visx/grid": {
"version": "3.12.0",
"resolved": "https://registry.npmjs.org/@visx/grid/-/grid-3.12.0.tgz",