A visual timeline application for tracking and displaying service events in an interactive and user-friendly format.
View the live demonstration: AS-ITS Service Timeline Demo
This application renders an interactive timeline visualization from event data stored in CSV format. Users can filter events by type and view detailed information about each event. The timeline uses color-coding to distinguish between different event categories, providing an intuitive visual representation of service history.
- Interactive Timeline: Navigate through time with zoom and pan capabilities
- Event Filtering: Filter events by type, category, or custom attributes
- Color-Coded Categories: Quickly identify event types through visual indicators
- Responsive Design: Optimized for desktop, tablet, and mobile displays
- Event Details: Access comprehensive information by hovering or clicking events
- Data-Driven: Easily update by modifying the CSV data source
AS-ITS-Service-Timeline/
├── index.html # Main HTML entry point
├── src/
│ └── timeline.js # Core timeline rendering and interaction logic
├── style/
│ └── timeline.css # Timeline styling and responsive design rules
├── data/
│ └── events.csv # Event data in CSV format
└── README.md # Project documentation
- A modern web browser (Chrome, Firefox, Safari, or Edge)
- Basic knowledge of HTML/CSS/JavaScript for customization
-
Clone the repository:
git clone https://github.com/IISNRL/AS-ITS-Service-Timeline.git cd AS-ITS-Service-Timeline
-
No build process is required. You can:
- Open
index.html
directly in a web browser - Host using a local server:
# Using Python python -m http.server 8000 # Using Node.js (after installing http-server) npx http-server
- Open
-
For production deployment, upload all files to your web server.
The data/events.csv
file should follow this format:
Date,Description,Type,Event
2023-04-01,Scheduled maintenance for server updates,maintenance,System Maintenance
2023-04-15,Initial release of the new ticketing system,milestone,Service Launch
2023-05-10,Unexpected network failure affecting all campus buildings,incident,Network Outage
2023-06-01,Deployment of version 2.1 with new features,update,Software Upgrade
Fields:
Date
: Date of the event (YYYY-MM-DD)Description
: Detailed description of the eventType
: Event category (maintenance, milestone, incident, update, etc.)Event
: Short title of the event
- Styling: Modify
style/timeline.css
to change colors, fonts, and layout - Behavior: Adjust timeline parameters in
src/timeline.js
- Extensions: Add new features by extending the timeline.js functionality
- Chrome (latest 2 versions)
- Firefox (latest 2 versions)
- Safari (latest 2 versions)
- Edge (latest 2 versions)
- vis-timeline - Dynamic, browser-based visualization library
Contributions are welcome! Please follow these steps:
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature
) - Commit your changes (
git commit -m 'Add some amazing feature'
) - Push to the branch (
git push origin feature/amazing-feature
) - Open a Pull Request
This project is actively maintained. If you encounter any issues or have suggestions, please open an issue in the repository.
This project is licensed under the MIT License. See the LICENSE file for details.