This is a C program that uses OpenGL to visualize data in a 2D environment.
- Google Search Trends for 3 terms -> Lasagna, Lobster and Shrimp.
- Stored in
.csv
files.
- Clone the repository:
git clone https://github.com/amartyanambiar/DataVisualizer_OpenGL.git
- Install OpenGL on your system:
sudo apt-get install freeglut3-dev
- Compile the code:
gcc dataViz.c -lGL -lGLU -lglut -lm
- Run:
chmod +x a.out
./a.out
Press 1 to choose Dataset - Lasagna
Press 2 to choose Dataset - Lobster
Press 3 to choose Dataset - Shrimp
Press A (Shift+A) to view all graphs together
Right click to Zoom In and Out
Press h to view help screen
Press q to quit