Skip to content

How to Build a Fuel Price Dashboard for Your Website

Give readers one page they can come back to each week for fuel prices. With Fuel Data Lab, you can put a price brief, a trend chart and a regional comparison on a page in your own site, then let the live widgets pick up new weekly figures.

By

Build the page around the questions readers ask

For a Midwest freight publication, start with on-highway diesel and lead with the Midwest benchmark. A page for everyday drivers could use regular gasoline in the same layout.

  • What’s the price this week? Put a Weekly Fuel Brief first so readers see the price and change from the prior week.
  • Which way has it been moving? Put a Price Sparkline underneath to show the surrounding weeks and give the latest move context.
  • How does our region compare? Finish with a Regional Roundup so readers can see the U.S. figure and the other regions for the same week.
Live Price Sparkline for Midwest diesel

The chart carries its latest observation date, the recent range and the EIA source. Explore the other fuel widget formats.

Publish the page once and reuse the charts

Set Updating behavior to Live on the dashboard widgets. Give each a headline that will still make sense next week, like “Midwest diesel price trend.” Set your publication colors and preview each draft at phone width.

When the layout is ready, publish the widgets, copy each embed and paste it into an HTML block in your CMS. Start with the trend chart if that answers the main reader question, then add the other views as the page grows. You can reuse the same live chart on related pages. For a dated article that should keep its original chart, publish a separate captured edition. See how to install a widget.

Create an account to customize, save and preview your draft in the editor. A paid subscription is required to publish.

Frequently asked questions

How many published widget slots does a dashboard use?

A dashboard with three different published widgets uses three slots. Embedding one of those same widgets in another article still uses its original slot. Compare publishing plans.

Can I see which pages get widget loads?

Yes. Register each page in Placements and use the embed code for that placement. Publishing Reports show recorded widget loads for the registered pages.