Skip to main content
100%

Fork of HTML Starter

✓ Published0🌍 Public
FFaisal Akbar
Last edited Mar 5, 2025
Created on Jun 24, 2024
Forked from HTML Starter

This example demonstrates a dynamic stacked bar chart built with React and the Recharts library. It fetches raw data from an API and allows users to toggle between price and quantity metrics, as well as filter to display either all funding groups or only the top ten by total value. The chart groups data by funding and aggregates values by line of business, generating bars dynamically for each category with random colors. The visualization uses Recharts' `BarChart`, `Bar`, `XAxis`, `YAxis`, `Tooltip`, and `Legend` components, with a custom tick formatter that converts large numbers into millions for improved readability.

AI-generated description
MIT Licensed

Similar vizzes