Giter Club home page Giter Club logo

bookbrainz-viz's Introduction

BookBrainz data visualizations

Setup instructions:

NOTE: You do not need to do this to just see the visualizations. Downloading bbviz.html and opening it in your favorite web browser will show cached visualizations that I made from the latest dump (latest.tar). An even easier way is to just use RawGit.

  1. Clone this repository: git clone https://github.com/naiveaiguy/bookbrainz-viz.git

  2. If you have anaconda/virtualenv installed, create a new environment for this.

  3. Install Jupyter Notebook if not present already.

  4. Run pip install -r requirements.txt.

  5. Create a new account on plot.ly, then visit this page and use the username & API key from there to run this (in a Python REPL or in a script - you only need to do this once)

    import plotly
    plotly.tools.set_credentials_file(username=YOUR_USERNAME, api_key=YOUR_API_KEY)
  6. Make sure you have a PostgreSQL database running on 127.0.0.1:5432 with username postgres and password admin. Or, change the environment variables BBVIZ_HOST, BBVIZ_PORT, BBVIZ_USER and BBVIZ_PASSWORD to your values.

  7. Run jupyter notebook bbviz.ipynb.

  8. PROFIT!

bookbrainz-viz's People

Contributors

naiveai avatar

Watchers

 avatar  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.