1. Knowledge Base
  2. Chart and Dashboard Builder

Create a Widget 101

Using the widget builder you can use datasets to create a wide variety of data visualizations; all without a single line of code!

To start using the Widget Builder, launch the application from the Workspace by selecting “Create Widget”

This will launch the Widget Builder Application, where you’ll be prompted to load a Dataset. You won’t be able to perform any other actions until you do this, so hit the “Load Dataset” button to get started.

You should see the Dataset Browser open in a new window. Here you can browse our library of Datasets, which we’ll be constantly updating over time, so make sure you check back in frequently! Select a dataset that you’d like to use for your visualisation.

You’ll then see a preview of your selected Dataset, in the form of a table. This is the “Source Data” we’ll be using to visualize data. If you’re happy with the dataset you’ve selected, hit the “Load Dataset” button to finalize your selection.

Back in the Widget Builder, the view will have changed to reflect your loaded dataset. The Widget Builder can be broken into 4 distinct areas;

  1. Command Bar - This contains actions you can perform related to your visualization.
  2. Canvas - Your visualization will appear here as you work with the no-code editor to filter your data.
  3. No-code Editor - This is where the magic happens, use a carefully curated set of tools to select your Widget Type, edit and filter Data from your dataset, and update your visualization Information. A progress bar will inform you of your progress through the required fields in this section.
  4. Dataset Reference - Here you can see the Dataset you’ve selected. This table will automatically update as you filter through your Data. If you’d like to view the Source Data (what you originally loaded in!) just select the “Show Source Data” toggle at any time.

Selecting a Widget Type

Let’s start creating by selecting your widget’s appearance! The Widget Builder currently supports the following widget type’s:

  • Pie Chart
  • Area Chart
  • Bar Chart
  • Line Chart
  • Scatter Chart
  • Combo Chart
  • Table
  • KPI Metric, for example a single number or metric.

Some widget type’s also support different visualization types, such as the Pie Chart which can be displayed as either a standard Pie Chart or a Donut Chart. Play around with the selection to explore more sub-types!

For the sake of this tutorial, we’ll select Bar Chart.

For our sub-type, we’ll go with a tried and tested classic; “Stacked”.

You’ll notice that the Progress bar has now changed to 1/3. This is because you’ve completed all the required fields in the Widget Area! Nothing like that small rush of dopamine.

Edit and Filter Data

In the second step, we’ll use the Data dropdown. The fields you see here can vary depending on the Widget type you use, so the most important thing to remember is this is the section that determines what data will be visualized on the canvas.

Let’s fill in a couple of these required fields;

  • X-Axis: Block Date.
  • Y-Axis: Eth Burned
  • X-Axis Title: You can label this however you like.
  • Y-Axis Title: You can label this however you like.

So now that we’ve selected our Widget Type, and refined our Data you’ll notice a new button has just become available for us; the Apply button. Or the “make-magic-happen” button. ✨

Select the Apply Button.

You should now see your widget come to life as a visualization in the canvas view!

At this stage you’re free to refine your data even further.

  • For example by adjusting the Truncate time on this visualization, we can change how the data is displayed from no grouping to being grouped by a specific time frame, such as Weekly.
  • Or if you use the “Filter by Value” function, you can filter the data to only show values of Eth Burned greater than X, where X could be any number.

Try playing around with the variety of settings to create your perfect widget!

Provide Information

Now that you’re a bona-fide widget master, it’s time to give your creation a name, description and assign it a Sector.

And with that, you’ve successfully finished completing your first widget. 🎉 This tutorial took you through the process of creating a simple bar chart, but there are many more other possibilities available, which you’ll discover as you craft more widgets over time.

At Delphi we’re constantly working hard to improve our products, if there’s a feature you’d like to see or something that doesn’t quite work the way you think it should, why not drop us some feedback at this link.