Link Search Menu Expand Document

Create Compliance Charts - Numbers

On this page, you will make two of the following Compliance Charts - specifically, the two numbers - Boardings and Violations (Citations and warnigs):
Compliance Charts - Boardings and Violations (Citations and warnigs)

  1. First, let’s create the “Boardings” number. On the Charts Dashboard, select “Add Chart”

  2. Set the title to “Boardings”

  3. Set the Data Source to wildaid.BoardingReports How to set the Data Source

  4. Choose a Chart type of Text: How to select "Text" as the Chart Type

  5. Choose a Chart subtype of Number: How to select "Number" as the Chart subtype

  6. Drag _id to the “Number” field and make sure the aggregation method is “COUNT”:

And you should see the total number of boarding reports in the window. Select “Save and Close” in the upper right. Total number of boarding reports

  1. On your dashboard, mouse over the chart until you see the ellipses. Select the ellipses and select “Embed Chart”: How to select "Embed Chart"

  2. Select the “Authenticated” section, make sure “Enabled authenticated access” is set to “ON”, and set the User Specified Filters to “date” and select the green “SAVE” button:


  3. Copy the Chart ID:


  4. Select “Close” to close the “Embed Chart” window.

  5. Paste the Chart ID into your web application’s src/config.js file under “boardings-count-chart”.

  6. Now let’s create the “Violations” number. On the Charts Dashboard, mouse over the “Boardings” chart and select the three dots in the corner, then select “Duplicate Chart”:

    How to create &quotDuplicate Charts;"

  7. Set the title of the new, duplicated chart to “All Violations”

  8. To filter for records that contain citations or warnings, select “Filter”:


    Drag inspection -> summary -> violations -> disposition to “+ filter”:
    How to add "disposition" under Chart Filters

    Select only Citation and Warning:


    And you should see the total number of boarding reports with violations in the window. Select “Save and Close” in the upper right. Total number of boarding reports with violations

  9. On your dashboard, mouse over the “Violations” chart until you see the ellipses. Select the ellipses and select “Embed Chart”: How to select "Embed Chart" for Violations chart

  10. Select the “Authenticated” section, make sure “Enabled authenticated access” is set to “ON”, and set the User Specified Filters to “date” and select the green “SAVE” button:


  11. Copy the Chart ID:


  12. Select “Close” to close the “Embed Chart” window.

  13. Paste the Chart ID into your web application’s src/config.js file under “citations-and-warnings”

Onward to the percentage!



Troubleshooting - Up to main build page