Git Product home page Git Product logo

shuyib / yt_dataviz Goto Github PK

View Code? Open in Web Editor NEW
0.0 3.0 2.0 1.32 MB

This is a Data visualisation tool, multipurpose data visualization tool that addresses the limitations i've seen in other alternatives according to the presentation i gave.

Jupyter Notebook 98.34% R 1.48% Dockerfile 0.18%
jupyter-notebook python3-5 pandas bokehplots linegraph interactive-visualizations pycon2017 multipurpose data-visualisation kenya

yt_dataviz's Introduction

YT_dataviz

This is a Data visualisation tool, I presented at PyConKE on 28th September 2017 at USIU-Africa. I make use of Jupyter notebooks, Python, Pandas, Bokeh to make a multipurpose data visualisation tool that addresses the limitations i've seen in other alternatives according to the presentation i gave. In addition, I made a Shiny application that's more user friendly check it out here

You can reach me via email or saying Hi! on twitter @Shuyin_ben

Prerequisites:

  • Programming basics and python programming. Familiarity with pandas and Bokeh.
  • Know how to use Jupyter notebooks.
  • Some knowledge about terminal/shell.
  • If you manage to install everything and run jupyter then all you need to do is change the title and y-axis of the graphs.

Use this to install dependencies:

pip install -r requirements.txt

Then go through the codebook.txt and the slides(PyCon-presentation.odp - Use LibreOffice). You can use any other software to open the file.

Afterwards, you can start the notebook like this:

jupyter notebook Data_visualisation_tool_YT.ipynb


All you have to do is run(Run all) the code like demonstrated here:

After running, you'll get a text box pop up. If you have not been taken to this cell scroll down until you see this. The positioning of the "Please type in your title: textbox changes if you run this a few times.

Type the following to check if it works in this ORDER. If you don't you'll get many errors. For example:

Please type in your title: "views for Sliceace channel from 2011 to 2017" [Press Enter/return]

Please type in your y axis label "views" [Press Enter/return]

"views" [Press Enter/return]

Type what is in quotes in the text box and don't include the quotes. If you mess up run it again and follow the above procedure.

Moreover, you'll be asked the same question for the next channel. Follow the same procedure. Except change the title of the graph like this.

Please type in your title: "views for other channel from 2013 to 2017" [Press Enter/return]

Please type in your y axis label "views" [Press Enter/return]

"views" [Press Enter/return]

Fingers crossed

This is what you'll get

You see those icons to the right of the graphs; They do something awesome! Have you tried using them?

Now try for the subscribers_gained variable. Rerun the code again by clicking "Run All" like in the first image.

You know the drill :)

Please type in your title: "subscribers_gained for Sliceace channel from 2011 to 2017" [Press Enter/return]

Please type in your y axis label "subscribers_gained" [Press Enter/return]

"subscribers_gained" [Press Enter/return]

For the other channel

Please type in your title: "subscribers_gained for other channel from 2013 to 2017" [Press Enter/return]

Please type in your y axis label "subscribers_gained" [Press Enter/return]

"subscribers_gained" [Press Enter/return]

Try for average_view_duration and the other variables i've mentioned in the codebook.

yt_dataviz's People

Contributors

shuyib avatar

Watchers

 avatar  avatar  avatar

yt_dataviz's Issues

Some headings are invisible

If you have looked at the notebook Data_visualisation_tool_YT.ipynb you'll notice spaces without text. Please make use of nbviewer to view the notebook. How? Click on the "-" icon to the right of the notebook file. You'll see some text pop-up after hovering your mouse towards the icon "Limited rendering only, external view available with nbviewer" click on the text marked in blue that is, external view available with nbviewer. And you'll be able to see everything.

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.