How to Add a Graphs and Charts Widget to Your Website

July 17, 2026

Jotform’s Graphs and Charts Widget makes it easy to present information in a clear, engaging, and visually appealing way. Whether you’re sharing business metrics, survey results, sales figures, or other important data, the widget helps visitors understand it all at a glance.

Choose from different chart types, customize the layout and design, and tailor the widget’s appearance to your website. In this guide, you’ll learn how to configure the widget and add it to your website.

Creating Your Graphs and Charts Widget and Getting the Embed Code

Before you can add the Graphs and Charts Widget to your website, you’ll first need to enter your data, customize the chart, and copy its embed code. Here’s how to do it:

  1. On the top-left side of your Workspace page, click on Create.
Workspace page highlighting the Create button in the top-left corner to start a new project
  1. In the menu that opens up, click on Website Widget.
Create menu displaying the Website Widget option for creating a new website widget
  1. Next, in the Search bar in the upper-left corner of the Choose Website Widget, enter Graphs and Charts.
  2. Then, in the search results, click on Use Widget.
Searching for the Graphs and Charts widget on the Choose Website Widget page and selecting Use Widget
  1. Now, on the right side of the Website Widget page, in the Widget Properties menu, under the General tab, configure these options:
    • Widget Title — Add a title to describe what your chart represents and give visitors helpful context.
    • Description — Include a short description to explain your data or give additional info about the chart.
    • Chart Data — Enter or edit the data that’ll be displayed in your graph or chart.
    • Value Prefix — Add text or symbols before each value, such as a currency symbol ($) or other identifier.
    • Value Suffix — Add text or symbols after each value, such as %, kg, or hrs, to indicate units or measurements.
Configuring the Graphs and Charts widget by adding a title, description, chart data, value prefix, and value suffix
  1. Then, click on the Styles tab and manage the following options:
    • Theme — Choose a pre-designed theme to quickly change the overall look and feel of your chart.
    • Colors
      • Background — Choose a background color for the widget.
      • Chart Area — Select a background color for the chart area.
      • Text — Pick a primary text color to use throughout the widget.
      • Muted Text — Set a color for secondary text, such as labels or supporting info.
      • Grid Lines — Set the color of the grid lines to improve readability or better match your website’s design.
      • Accent — Choose a primary color to use for chart elements like bars, lines, or chart highlights.
    • Jotform Branding — Show or hide Jotform branding on the widget.
    • Custom CSS — Apply your own CSS codes for advanced styling beyond the built-in settings.
Customizing the Graphs and Charts widget by selecting a theme, adjusting colors, managing Jotform branding, and applying custom CSS
  1. Next, click on the Layout tab and configure these options:
    • Chart Type — Select the type of chart you want to display, such as a bar, line, pie, or other supported chart.
    • Chart Height — Adjust the height of the chart to fit your website’s layout.
    • Legend — Show or hide the chart legend that identifies each data series or category.
    • Value Labels — Display or hide the values directly on the chart for better readability.
    • Grid Lines — Show or hide the grid lines to make chart values easier to compare.
    • Rounded Bars — Round the corners of bar charts for a softer, more modern appearance.
  2. Once you’ve finished configuring the widget, in the pink navigation bar on the top of the page, click on Publish.
Configuring the Graphs and Charts widget by selecting a chart type, adjusting chart height, and customizing the legend, value labels, grid lines, and rounded bars

Note

You’ll be asked to log in to your Jotform account or sign up for one before you can continue using your widgets.

  1. Then, in the Embed section, click on Copy Code.
  2. Or, if your website is built on a supported platform, click on Platforms in the menu on the left. 
Website Widget Embed interface displaying the Copy Code option for adding the Graphs and Charts widget to a website
  1. Next, in the Search bar at the top of the Platforms page, search for the platform you use for your website.
Website Widget Platforms page showing the search bar used to find a supported website platform
  1. For this example, let’s use the Magento platform. In Platforms, search for Magento and click on it.
Website Widget Platforms page showing the Magento platform selected for platform-specific embedding instructions
  1. Finally, follow the steps in the How to Embed Your Widget section to add it to your platform.
Following the How to Embed Your Widget instructions to embed the Graphs and Charts widget on a Magento website

That’s it. Simply paste the embed code into your website, and the widget will automatically display your graphs and charts, making it easy for visitors to see and understand things easily. Take a look at the screenshot below to see how it looks on a sample website.

Sample website showing the Graphs and Charts widget with data visualizations for presenting information clearly

Note

You can manage your widget anytime from your Website Widgets page. For a step-by-step guide on how to do it, check out our full tutorial on How to Manage Website Widgets.

Pro Tips

  • Keeping your color choices consistent with your website’s branding helps create a more polished and professional appearance.
  • Previewing your chart on both desktop and mobile devices before publishing ensures it’s easy to read and fits well on different screen sizes.

Send Comment:

Jotform Avatar
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Podo Comment Be the first to comment.
Still have unanswered questions?

We’re here for you 24/7, anytime you need us day or night. Have a question or need a hand with something? Our team is always ready to help out.