hoangsonww/AI-Gov-Content-Curator

Thematic Dashboards & Trend Analysis

Open

#42 opened on Sep 23, 2025

View on GitHub
 (1 comment) (1 reaction) (2 assignees)TypeScript (18 forks)auto 404
backendci/cdcrawlerdocumentationenhancementfrontendgood first issuehelp wantedquestion

Repository metrics

Stars
 (29 stars)
PR merge metrics
 (PR metrics pending)

Description

Summary Add interactive dashboards that visualize article trends (topics, bias scores, sources) over time. This will provide government staff with actionable insights, not just summaries, by highlighting how narratives evolve across different outlets.


🔍 Problem

The current UI allows browsing articles, summaries, comments, and Q&A. However:

  • There is no visual representation of emerging trends.
  • Users cannot easily compare sources or track bias across multiple outlets.
  • It’s hard to identify recurring themes or shifts in coverage (e.g., how the White House vs. BBC reports on the same topic).

💡 Proposed Solution

  • Backend (Express/Next.js API):

    • Add endpoints to aggregate metadata (counts by source, bias scores, topic frequency).
    • Implement a time-series analysis job (daily, weekly) to track changes.
  • Frontend (Next.js + React + shadcn/ui):

    • Create a dashboard page with charts (using recharts or chart.js).

    • Widgets:

      • 📊 Topic Trends Over Time – Line chart of most common topics.
      • 📰 Source Distribution – Pie chart of article sources.
      • ⚖️ Bias Heatmap – Compare bias levels per outlet.
      • Top Rated Articles – Highlight most engaged-with content.
    • Add filters: date ranges, sources, topics.

  • AI-Powered Insights:

    • Use Gemini to generate weekly narrative summaries: “This week, climate policy coverage shifted toward EU regulations…”

✅ Benefits

  • Decision Support: Gives staff clear visibility into media narratives.
  • Comparative Analysis: Enables side-by-side evaluation of outlets.
  • Engagement: Makes the app more than just a reader—turns it into a strategic insight tool.
  • Scalability: Can expand into exporting reports (PDF, CSV).

Contributor guide