Giter VIP home page Giter VIP logo

moviedeathsupdated's Introduction

Movie Deaths Dashboard

An exercise in Data Visualisation, using a dataset which focuses on the number of deaths that take place in movies.

It is possible to filter results by Year, Director, Genre, MPAA Rating, and Deaths per Minute.

All instructions on how to use this dashboard can be found within the hosted application by clicking on the 'Start Here' button.

Qualification

Due to the limited nature of the dataset (422 movies from 1949 to 2010) it is not possible to infer too much hard fact from analysis.

This is meant purely as a learning exercise, displaying some of the features of dc.js and crossfilter.js, and aiming to increase my own knowledge of working with the Flask framework and json data.

Getting Started

Prerequisites

No installation is necessary to view this app online. A live version of this dashboard is hosted here on Heroku.

If you wish to test/develop this app locally, clone this repo and use the following guidelines:

Python

You must have Python 2.7 installed on your system, available here. Download the correct version for your operating system and follow the installation instructions.

requirements.txt

Create and activate a local virtual environment and pip install -r requirements.txt

Local Server

Run your app using the following commands in command line:

$ export FLASK_APP=stream2_project.py

$ flask run

Navigate to http://localhost:5000/ to view your app locally

Built With

  • Flask - a lightweight Python web framework based on Werkzeug and Jinja 2
  • dc.js - JavaScript Library for Multi-Dimensional Charting
  • intro.js - step-by-step guide and feature introduction
  • MongoDB - cross-platform document-oriented NoSQL database program

Inspiration

There are a number of websites dedicated to the meticulous counting and visualisation of on-screen deaths.

The greatest amount of credit for the inspiration for this dashboard goes to ramiro.org who created a broadly similar visualisation using different technologies with which I am not familiar (pandas, NumPy and matplotlib).

Responsiveness

As of this point, this dashboard is not responsive due to limitations in dc.js. The website is optimised to be viewed on a 2016 15" MacBook Pro, and will not render correctly on any other screensize.

Testing

Manual testing was undertaken for every feature of the website and satisfactorily passed.

Author

Brendan Long

License

This project is licensed under the MIT License.

Acknowledgments

moviedeathsupdated's People

Contributors

brenlong avatar

Watchers

James Cloos avatar Yoni Lavi 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.