Skip to main content
Skip table of contents

Commodity Price Change Bar Chart

The Commodity Price Change Bar Chart displays a bar chart showing prices compared to the price last month, the price last year, and a historic range (2-year or 5-year average). This visualization is normally used in Markets and Trade reports and in Food Security Outlook reports as required.

Use the following guidelines to create a Commodity Price Change bar chart.

* = typically required for reports

Standard Visualization Fields

Internal Title: This field is optional and will not show up in the report. You may use it to help you quickly identify a specific visualization in your report in the CMS.

*Alt Text: Provide a brief description of what the visualization shows. Learn more about writing alt text for FEWS NET visualizations.

*Show Figure Label: If the visualization is referred to in the text of the report and needs a figure number (i.e. Figure 1), make sure this toggle is turned on. Turn this toggle off for visualizations being used in country and region pages.

*Pick a visualization type: Choose the Commodity Price Change Bar Chart.

Visualization Specific Fields

*Data Selection Fields

Choose either one dataset or one or more data series and a historic range.

Data series: You can select multiple data series by holding down the CTRL button.

Dataset: You can use the search box to search datasets by user name and title.

Date Range Fields

*Historic range for percent change: Choose whether you want to compare prices to a 2-year or 5-year average. If not selected, this will default to the option with the greatest number of data points. If they number of data points is the same, it will default to 5-year average.

*Period date: A period date is needed to ensure that the visualization period matches that of the report and that new data after the report date isn’t included automatically. This date should be entered as the last day of the report month.

If the visualization is being used on a country or a region page, rather than in a report, then the period date should be left blank so that the visualization updates automatically as new data is published.

Auto-Generated Fields

All of these fields will be automatically generated but can be overridden if desired.

Visualization title: The auto-generated title and subtitle will be formatted as follows:

Formula

Example

Title

Change in {Product} Prices in {selected market/markets}

Change in Maize/corn grain Prices in Selected Markets in Kenya

Subtitle

{Period month} compared to last month, last year, and {Historic range}

September 2022 compared to last month, last year, and 5-year average

Disclaimer: This is blank by default for this chart. However, it can be used to add a custom disclaimer when required (e.g., to explain missing data).

Source Attribution: The auto-generated source attribution is a compilation of the data source organization names stored in FDW for the data used to create the visualization.

Generate the Visualization

*Generate URL: Click this button once you have filled out the fields above to generate the visualization. The system will provide a thumbnail of the visualization and a URL where you can preview the visualization. Note: It may take a minute to generate the thumbnail image. Make sure you allow the thumbnail to load before saving the visualization.

The system will automatically populate the remaining fields: Data Visualization Type, Primary URL, Image URL, and JSON Configuration. These SHOULD NOT be edited.

PDF Formatting Options

Show full width in PDF: By default, this toggle should be turned off. You may want to show a visualization in full width if you have a very detailed chart that needs to be larger than 50% of the page width.

Float Position: Sets the orientation data visualizations that are not full width. Defaults to Right. For side-by-side images, set the first image to Left. For full width images, set to None.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.