https://github.com/shuyib/yt_dataviz
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.
https://github.com/shuyib/yt_dataviz
bokeh bokehplots codebook data-science-research data-visualisation graph interactive-visualizations jupyter jupyter-notebook kenya linegraph multipurpose nairobi pandas pycon-kenya pycon2017 pyconke python3-5 usiu-africa yt-dataviz
Last synced: about 1 month ago
JSON representation
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.
- Host: GitHub
- URL: https://github.com/shuyib/yt_dataviz
- Owner: Shuyib
- Created: 2017-10-02T09:18:39.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2022-12-28T14:40:55.000Z (almost 3 years ago)
- Last Synced: 2025-03-22T09:43:39.046Z (7 months ago)
- Topics: bokeh, bokehplots, codebook, data-science-research, data-visualisation, graph, interactive-visualizations, jupyter, jupyter-notebook, kenya, linegraph, multipurpose, nairobi, pandas, pycon-kenya, pycon2017, pyconke, python3-5, usiu-africa, yt-dataviz
- Language: Jupyter Notebook
- Homepage:
- Size: 1.29 MB
- Stars: 0
- Watchers: 1
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# 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](https://gettingappy.shinyapps.io/shiny-time-series-YT/)You can reach me via email or saying Hi! on twitter [@Shuyin_ben](https://twitter.com/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.