Datapane 0.8: Report Layout

What's new with Datapane? Grid layout, responsive charts, and more!

We've been hard at work with customers on a few new features for both our public users and enterprise customers. We've also improved our documentation and examples to make it even easier to get started with Datapane.

Live features

Layout Customization

The biggest request we have had is the ability to have more custom layouts in reports. Although you are you probably analyzing data in a list of sequential steps, it may not the best way to present results -- especially if you are sharing with people who are used to a traditional dashboard or BI tool. Our new components allow more flexible grid-style layouts, allowing you to create custom interfaces without HTML or CSS.

import pandas as pd
import altair as alt
import datapane as dp

dataset = pd.read_csv('<https://covid.ourworldindata.org/data/owid-covid-data.csv>')
df = dataset.groupby(['continent', 'date'])['new_cases_smoothed_per_million'].mean().reset_index()

plot = alt.Chart(df).mark_area(opacity=0.4, stroke='black').encode(
    x='date:T',
    y=alt.Y('new_cases_smoothed_per_million:Q', stack=None),
    color=alt.Color('continent:N', scale=alt.Scale(scheme='set1')),
    tooltip='continent:N'
).interactive().properties(width='container')

dp.Report(
    dp.Blocks(
        dp.Plot(plot), 
        dp.Table(df),
        columns=2
    )
).publish(name='covid_report', open=True)
Sample report with 2 columns

To learn more, check them out in the documentation.

Responsive Charts

A lot of users embedding their reports into other platforms needed to be able to use the responsive capabilities of libraries such as Plotly and Altair. We've added the ability to add responsive charts to your reports, like this example. This should help folks embed Datapane across the web and improve mobile functionality.

Captions

You can now add captions to elements such as plots and datasets in Datapane. Are there other layout features which you want to see? Let us know on the forum.

New onboarding guides

We've been working to make it easier to build some great reports and dashboards with Datapane from first interaction, so we've replaced our initial stock example with a COVID dashboard which you can use.

Scheduling (Datapane for Teams)

For paid customers, we've added the ability to deploy your Python script and schedule it to generate reports on a cadence — for instance for a weekly report, or a dashboard which updates every our. Want to learn more about Datapane for Teams? Book a demo.

Mandeep Gill

Mandeep Gill

London