Simpler JI Bar with Table
This interactive bar chart visualizes how philanthropic donations are distributed across various causes, with a toggleable menu to switch between total actions, COVID-19-specific, and other purposes. The horizontal bars are segmented into two stacked rectangles, showing the proportion of each category, with a striped pattern overlay and hover tooltips revealing exact percentages. A supplementary HTML table below the SVG reorganizes the same data into intervals (e.g., '0-1 %', '5-10 %') for non-key themes, using React state to update both visualizations dynamically. The chart is built with React and D3 v6, utilizing `scaleBand` and `scaleLinear` for axes, and reads data from a CSV file via `d3.csv`.