A powerful data visualization tool that allows users to view and edit data through both a web interface and a C++ console application. This project was created as a first-year project for CU (Chandigarh University).
- Interactive data visualization using Chart.js
- Multiple chart types (Bar, Line, Pie, Doughnut)
- Real-time data updates
- File selection and management
- Responsive design
- Data editing capabilities
- ASCII-based bar chart visualization
- Data file management
- Add/remove data points
- Multiple file support
- Interactive menu system
Bar Chart Visualization |
Line Chart Visualization |
Pie Chart Visualization |
Data Editing Interface |
Main Menu Interface |
Remove Data Point |
Add Data Point |
Display Raw Data |
- Frontend: HTML, CSS, JavaScript, Chart.js
- Backend: C++ (Console Application)
- Data Storage: Plain text files
- Web browser (for web interface)
- C++ compiler (for console application)
- Basic understanding of data files
- Clone the repository:
git clone https://github.com/Yashraj-Jangra/data_visualizer.git-
For web interface:
- Simply open
index.htmlin your web browser (no web server required) - Place data files in the
datadirectory - The application will work directly in your browser
- Simply open
-
For C++ application:
- Compile the source code:
g++ visualization.cpp -o visualizer
- Run the executable:
./visualizer
- Open
index.htmlin your browser - Select a data file from the dropdown
- Choose a chart type
- Edit data using the form below the chart
- Save changes to update the visualization
- Run the executable
- Use the menu to:
- Display bar charts
- Show raw data
- Add/remove data points
- Load different data files
- Exit the application
Data files should be in the following format:
name1 value1
name2 value2
name3 value3
Example:
Apple 10
Banana 15
Orange 20
Contributions are welcome! Please feel free to submit a Pull Request.
This project is licensed under the MIT License - see the LICENSE file for details.
- Yashraj Jangra
- GitHub: @Yashraj-Jangra
- LinkedIn: Yashraj Jangra
- Chart.js for the web visualization library
- CU (Chandigarh University) for the project opportunity







