Portfolio / Data viz tool for scientists

Case study · Data & analytics

Data viz tool for scientists

A drag-and-drop dashboard builder that connects a web interface directly to the analysis code scientists already write in Jupyter notebooks.

Industry
Scientific research
Product
Dashboard builder
Built with
Angular, Django Channels
Scientist using a microscope
Illustrative photo

The brief

What it needed to do.

Scientists do their analysis in Jupyter notebooks, but sharing results usually means static exports that go out of date.

This tool lets them build live dashboards instead. They drag input tools and charts onto a page, and each one talks directly to functions in their notebook, so the analysis and the dashboard stay the same thing.

What we built

Inside Data viz tool for scientists.

  • Drag-and-drop dashboards

    Users build dashboards by dragging input tools and graphs onto the page.

  • Notebook-powered

    Widgets call functions written in a Python Jupyter notebook.

  • Live connection

    Django Channels handles socket connections between the browser and the notebook.

  • Dynamic charts

    Analytics and visualisations render on the dashboard as inputs change.

  • Shareable views

    Generated graphs display across machines and formats.

  • Stored data

    PostgreSQL stores the data behind each dashboard.

How it works

The workflow, step by step.

  1. Build

    Drag input tools and charts onto a dashboard.

  2. Connect

    Each widget is linked to a function in the Jupyter notebook.

  3. Compute

    Inputs travel through Django Channels to the notebook, which runs the analysis.

  4. Render

    Results come back and render live in the Angular dashboard.

Challenges

The hard parts, and how we solved them.

  • Connecting a browser to a notebook

    The challengeJupyter notebooks are not built to serve web applications.

    Our solutionDjango sits between the Angular front end and the notebook as middleware, passing inputs in and results out.

  • Real-time interaction

    The challengeDashboards should update as soon as a scientist changes an input.

    Our solutionDjango Channels manages socket connections, so results stream back to the dashboard without page reloads.

Under the hood

Technology.

Frontend
Angular
Middleware
Django, Django Channels
Analysis
Jupyter, NumPy, Pandas, Plotly
Database
PostgreSQL

Delivered

What we shipped.

  • A drag-and-drop dashboard builder for scientific data
  • Live connection between dashboards and Jupyter notebook functions
  • Dynamic charts that display across machines and formats

More work

Related projects.

See all projects

Your project

Building something similar?

We design, build and run software like this, from the first prototype to production. Tell us what you want to build.

Our Accomplishments