GithubHelp home page GithubHelp logo

b-xb / ge-data Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 1.11 MB

An interactive VueJS + ChartJS visualiser for analysing UK General Election Data

Home Page: https://b-xb.github.io/ge-data/

JavaScript 4.09% HTML 7.38% Vue 82.15% Shell 6.38%
uk chartjs election-analysis election-data vuejs uk-general-election general-election general-elections static-site

ge-data's Introduction

UK General Election Data Visualiser

DEMO

Visit https://b-xb.github.io/ge-data/ to see a working demo.

About

This is a small demo application using Vue.js and Chart.js to make graphs of UK election data.

It is very simple at the moment but I may well add in more features in the future.

Possible Future Features

  • More Filters

    • Filter by region
    • Filter by EU referendum data
    • More political parties
    • Filter by seats gained/lost
  • Select Multiple

    • Show data for different political parties on the same graph
  • Averages

    • Calculate average lines for certain sets of data
  • Comparisons

    • Compare selected graph data side by side or combined into the same graph
  • More data

    • Include more data from previous years

Project setup

You will need to have Node.js installed on your local computer in order to run this application locally.

I recommended installing NVM, or similar, to manage multiple versions of node on the same computer and then installing the most recent LTS version of node.

Install dependencies

npm install

Compiles and hot-reloads for development

npm run serve

Compiles and minifies for production

npm run build

Lints and fixes files

npm run lint

Deploy to Github Pages

npm run build
npm run deploy

Customize configuration

See Configuration Reference.

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.