These instructions will help you create a report in <1 minute. We will build a simple HTML report using Python based on the Iris dataset.
First, install Datapane using
conda. Check out our installation page for installation options.
You can also download this Quickstart as a Jupyter Notebook.
datapane, the popular visualization library
vega_datasets which contains some sample datasets.
Let's load the Iris dataset and get a list of the features.
['sepalLength', 'sepalWidth', 'petalLength', 'petalWidth', 'species']
Your report is comprised of Blocks, which are Python objects that wrap around common objects such as datasets, plots, and other blocks. There are display blocks, such as Plot or DataTable, and layout blocks, such as Select and Group.
Having loaded our DataFrame above and with knowledge of our column names, we first create a simple scatterplot using the Altair plotting library.
We then build a simple set of blocks which presents two tabs: one with our plot, and one with our DataFrame.