twitterCompetitorMonitoring
Val Town is a collaborative website to build and scale JavaScript apps.
Deploy APIs, crons, & store data – all from the browser, and deployed in milliseconds.
Viewing readonly version of main branch: v45View latest version
This directory contains the frontend HTML and JavaScript files for the Competitor Tweet Tracker.
index.html: Main HTML template with chart containers and stylingcharts.js: JavaScript for fetching data and rendering Chart.js visualizations
- Responsive design using TailwindCSS
- Interactive charts using Chart.js
- Automatic color generation for multiple competitors
- Error handling for data loading failures
- Real-time data fetching from the API
- Daily Chart: Line chart showing tweet mentions over time for each competitor
- Total Chart: Bar chart showing total tweet counts per competitor
The charts automatically handle empty data states and dynamically adjust to the number of competitors being tracked.