data-visualization
Description
Data visualization using d3.js, Node.js and mysql.
This project reads data from a database and creates bar/line charts and scatter plots. It was created for educational purposes, under the course of cs.uoi.gr/~pvassil/courses/db_III/
Installation
- Install mysql-server, apache2, mysql-workbench
- Install nodejs and node package manager (npm)
- run
npm install mysql
on terminal
Usage
- start mysql-workbench
- start mysql server
- once you have downloaded everything from this repository, on MySQL-workbench go to file/Open Model and select data_schema.mwb or click open SQL script, select create_db.sql and run it.
- run input_data.sql on workbench.
- run
node app.js
on terminal. - enter your mysql password.
- open a browser and go to localhost:3011 .
- now you are ready and you can select countries and indicators to see some graphs.