Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/aaronwatters/chart_ipynb
Simple jupyter widget wrappers for Chart.js chart types
https://github.com/aaronwatters/chart_ipynb
Last synced: about 1 month ago
JSON representation
Simple jupyter widget wrappers for Chart.js chart types
- Host: GitHub
- URL: https://github.com/aaronwatters/chart_ipynb
- Owner: AaronWatters
- License: bsd-2-clause
- Created: 2020-06-12T18:45:50.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-01-06T05:56:48.000Z (almost 2 years ago)
- Last Synced: 2024-10-14T06:24:46.436Z (2 months ago)
- Language: Jupyter Notebook
- Size: 2.97 MB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 16
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/AaronWatters/Chart_ipynb.git/master)
# Chart_ipynb
Simple jupyter widget wrappers for
Chart.js chart types.```python
doughnut_chart = doughnut.Doughnut()
doughnut_chart.set_title("Chocolate Frosted")
doughnut_chart.add("Big:, 10, "brown")
doughnut_chart.add("Medium", 7, "pink")
doughnut_chart.add("Small", 3, "purple")
doughnut_chart.setup()
doughnut_chart
```
## Development install
Please clone to your local location and do the following:
```
pip install -e .
```If you don't want to clone the zip file, you can do
```
pip install -e git+https://github.com/AaronWatters/Chart_ipynb.git
```## Baisc Charts
`Chart_ipynb` makes it easier to present data interactively on Jupyter. Some basic charts are introduced in [quick reference](https://github.com/AaronWatters/Chart_ipynb/blob/master/notebooks/chart_ipynb%20quick%20reference.ipynb).
| Charts | |
|:--------:|:---:|
| Line Chart||
| Bar Chart| |
| Scatter Chart| |
| Pie Chart| |
|...||## Time Series
`Chart_ipynb` provides an additional function to initialize line chart and bar chart specifically for time series data. Users can either use their own data as input or use inner data by specifying ticker symbol of company to obtain the data from data websites (`quandl` by default).
The example can be found [here](https://github.com/AaronWatters/Chart_ipynb/blob/master/notebooks/time%20series%20example.ipynb).
## Covid-19 Examples
The [example](https://github.com/AaronWatters/Chart_ipynb/blob/master/notebooks/Covid19%20Examples.ipynb) presents the tendency of Covid-19 cases and deaths based on states.