Terms of Trade Bar Chart
The Terms of Trade Bar Chart displays a bar chart comparing the actual and 2- or 5-year average Price Ratios for selected product in selected markets on selected date. 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 Terms of Trade 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 Terms of Trade Bar Chart.
Visualization specific fields
*Data selection fields
Choose either one dataset, one or more data series, or a product and country.
Dataset: You can use the search box to search price ratio (terms of trade) datasets by user name and title.
Data series: You can select multiple price ratio (terms of trade) data series by holding down the CTRL button.
Product: Select one or more terms of trade specific products. If a product, dataseries, or data set is not selected, the first available product will be applied.
Country: If not using a dataset or data series, choose a country and product. Note that choosing a country without a Product parameter might significantly increase response time.
Date range fields
*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.
*Historic range: Choose whether you want to compare prices to the value one month ago, the value one year ago, the 2-year average, or the 5-year average. If not selected, this will default to the option with the greatest number of data points. If the number of data points is the same, it will default to 5-year average.
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 | {Product 1} for {Product 2} Actual and {Historic Range} Terms of Trade Comparison in {selected market/markets} | Goats (Local Quality) For Sorghum (Red) Actual and 5-Year Average Terms of Trade Comparison in Selected Markets in Somalia |
Subtitle | {Period month} | December 2022 |
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.