Skip to content

Add Jupyter Notebook for Visualizing iQual Outputs in Grafana #3

@anglerfishlyy

Description

@anglerfishlyy

Problem: iQual’s NLP outputs (e.g., coded aspirations from Cox’s Bazar interviews) are analyzed in notebooks but lack visualization for end-users like researchers or policymakers.

Proposed Solution: Add a new notebook in /notebooks (e.g., Grafana_Visualization.ipynb) showing how to pipe iQual’s predictions (e.g., sentiment scores) into a Grafana panel using Python’s grafanalib or REST API. This would:

  • Create a sample dashboard with bar charts for coded categories (e.g., positive/negative aspirations).
  • Support filters for regions or questions.
  • Enhance iQual’s utility for World Bank’s SDG monitoring.

Steps:

  1. Use iqualnlp.Model to generate sample predictions on politeness dataset.
  2. Export predictions as JSON/CSV.
  3. Generate Grafana panel config with grafanalib (or mock API call).
  4. Document in notebook with setup instructions.
    Impact: Enables researchers to visualize qualitative data in real-time, aligning with World Bank’s data viz priorities.
    Willing to Implement: I can submit a PR with the notebook and sample dashboard config.

@addypy @g4brielvs, I’d love your feedback on this proposal to add a Grafana visualization notebook for iQual’s NLP outputs, aligning with World Bank’s SDG dashboard goals (e.g., GEPD). I’m building a similar UN/World Bank KPI dashboard and can adjust the scope based on your input!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions