Git Product home page Git Product logo

visualization-of-bank-marketing-dataset's Introduction

Visualization of Bank Marketing Dataset

Introduction

This is the course project of Data Warehousing and Data Mining Technology at Peking University.

This project consists of client, server and database, aiming to visualize the distribution of the Bank Marketing Data Set.

Client

The client is implemented by HTML/CSS and JavaScript. I used Bootstrap and jQuery to simplify the process. What's more, the visualization work is under the help of the powerful interactive data visualization tool ------D3.js.

The documents for client are contained in the folder static.

Server

The server is coded with Python, under the framework of Flask.

The document for server is the file app.py.

Database

The database I use is MySQL. It's easy and free to establish your own databases through MySQL.

The file to establish the database is setup_database.sql.

##About the Data The data used in this project is the Bank Marketing Data Set. It contains 45211 records. Each record consists of 17 attributes. I only select 9 of them to visualize their distribution.

The data is in the folder data.

Usage

  1. Download the project and put the project folder on the Desktop.
  2. Open MySQL on your terminal. Run the setup_database.sql file to establish the database.
$ source ~/Desktop/BankMarketingDataSet-master/setup_database.sql
  1. Run the server on your terminal.
$ python app.py
  1. Open your browser (better using Chrome in full-screen mode) and visit localhost:5000. Then enjoy playing with it!

Note: In Basic mode, users can add only one constraint on each of 9 attributes. While in Advance mode, users can freely add several constraints on each attribute at the same time.

Some Results

References

[1] Documentation of Flask: http://docs.jinkan.org/docs/flask/

[2] Official website of D3.js: https://d3js.org/

[3] Some tutorials about HTML/CSS/JavaScript/Python: http://www.runoob.com/

visualization-of-bank-marketing-dataset's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.