{ "cells": [ { "cell_type": "markdown", "metadata": {}, "source": [ "
\n", " \n", " \n", " \n", "
" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "# NVD3\n", "\n", "\n", "Chart from NVD3 [component](00_components.ipynb) in Epyk will be using the property nvd3 from the ui.charts property.\n", "\n", "the ui entry point will give you access to all the registered components.\n", "Different flavour of buttons are available in the framework.\n", "\n", "## Available Charts\n", "\n", "- [Scatter Chart](./nvd3/nvd3_scatter.ipynb)\n", "- [Line Chart](./nvd3/nvd3_line.ipynb)\n", "- [Line Cumulative Chart](./nvd3/nvd3_line_cumul.ipynb)\n", "- [Line Focus Chart](./nvd3/nvd3_line_focus.ipynb)\n", "- [Bar Chart](./nvd3/nvd3_bar.ipynb)\n", "- [Horizontal Bar Chart](./nvd3/nvd3_horizontal_bar.ipynb)\n", "- [Multi Chart](./nvd3/nvd3_multi.ipynb)\n", "- [Histo Chart](./nvd3/nvd3_histo.ipynb)\n", "- [Timeseries Chart](./nvd3/nvd3_timeseries.ipynb)\n", "- [Area Chart](./nvd3/nvd3_area.ipynb)\n", "- [Pie Chart](./nvd3/nvd3_pie.ipynb)\n", "- [Donut Chart](./nvd3/nvd3_donut.ipynb)\n", "- [Gauge Chart](./nvd3/nvd3_gauge.ipynb)\n", "- [Parallel Coordinate Chart](./nvd3/nvd3_parallel.ipynb)\n", "- [Sunburst Chart](./nvd3/nvd3_sunburst.ipynb)\n", "- [OHLC Chart](./nvd3/nvd3_ohlc.ipynb)\n", "- [Candle Stick Chart](./nvd3/nvd3_candle.ipynb)\n", "- [Group Box Chart](./nvd3/nvd3_group_box.ipynb)\n", "- [Force Directed Chart](./nvd3/nvd3_force_d.ipynb)\n", "\n", "## Example of Charts" ] }, { "cell_type": "code", "execution_count": 3, "metadata": {}, "outputs": [ { "data": { "text/html": [ "\n", "\n", "\n", "\n", "\n", "\n", "\n", "" ], "text/plain": [ "" ] }, "execution_count": 3, "metadata": {}, "output_type": "execute_result" } ], "source": [ "from epyk.core.Page import Report\n", "from epyk.tests import data_urls\n", "\n", "rptObj = Report()\n", "data_rest = rptObj.py.requests.csv(data_urls.PLOTLY_APPLE_PRICES)\n", "\n", "sc = rptObj.ui.charts.nvd3.candlestick(data_rest, closes=[\"AAPL.Close\"], highs=[\"AAPL.High\"], lows=[\"AAPL.Low\"], opens=[\"AAPL.Open\"], x_axis='Date')\n", "\n", "rptObj.outs.jupyter()" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "Go back to the Chart Home page\n", "
\n", "Do not forget that this is a collaborative framework so do not hesitate to give feedbacks and like the different repository to get more visbility.\n", "\n", "Also any help is more than welcome !" ] } ], "metadata": { "kernelspec": { "display_name": "Python 3", "language": "python", "name": "python3" }, "language_info": { "codemirror_mode": { "name": "ipython", "version": 3 }, "file_extension": ".py", "mimetype": "text/x-python", "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.8.2" } }, "nbformat": 4, "nbformat_minor": 4 }