Git Product home page Git Product logo

chernoff-faces's Introduction

Chernoff Faces

Demo!

This project is about exploring Chernoff faces.

Imagine visually comparing election results as they're rolling in on election day. You want to see how things like voter turnout, dem-to-repub ratio, votes counted, etc compare across a few select states. There are a number of separate categories (states) and lots of variables for each one, each with their own range of possible values.

Very quickly, things gets complicated and hard to follow.

One possible solution is to leverage our adeptness at facial recognition by representing a subset of those voting variables as facial features on a set of faces, where each face represents a state.

This project aims to make producing and manipulating Chernoff faces easy.

Usage

Just open public/index.html in a browser.

Development

  • ./bootstrap.sh

OR...

  • brew update && brew install node
  • npm install
  • npm install -g bower
  • bower install

Then,

Launch the server using npm start. Then, go to localhost:8080/index.html. You can also open this main page with npm run index after the server is running.

Other details:

  • Launch static server: npm start

  • Open the main html page: npm run index

  • Run tests npm test

  • Build out the client side bundle (if any changes in lib/): npm run build

  • Launch basic REPL: npm run repl

  • Learn about all scripts: npm run

Documentation

See doc/development_log.md for notes on the development of this project.

Also, see doc/arch for a sequential list of files with architecture decisions listed.

To Do

Test it with a complex example?

Credit

Thanks to Lars Kotthoff for the chernoff d3 plugin!

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.