Skip to main content

egm


Evidence Gap Maps(egm) are useful for visualizing research gaps. This library (extension of the Bubbly package) provides interactive and animated charts using Plotly, useful for plotting reasearch papers. The animated bubble charts can accommodate multiple variables viz. X-axis, Y-axis, time, bubbles (the research artifacts of title , abstract and doi) their size (similarity to research question) and their color in a compact and captivating way. Evidence Gap Maps (egm) python package is easy to use with plenty of customization, and is designed to work with plotly's offline mode useful in Jupyter Notebooks, Google Colab and Kaggle kernels.

egm package can also be useful in making a plot where two catagorical variable are to be plotted aganst each other as bins.

Dependencies

  • Python 3.x
  • numpy
  • pandas
  • plotly

Installation

pip install egm

Modes

There are two modes supported. Time can be included in both modes for a dynamic year wise plot.

1. Mode Random

The random mode is more display friendly and the plot in a bin is scattered evenly.

figure = evidencegapmap(dataset=pd, x_column='x', y_column='y', bubble_column='title_column',bubble_text='bubbletext_column', bubble_link='bubblelink_column', size_column='size_column', color_column='color_column',xbin_list=, ybin_list = , xbin_size=100, ybin_size = 100, x_title="X Axis Title", y_title="Y Axis Title", title='Evidence Gap Map for XYZ',scale_bubble=4, marker_opacity=0.8,height=900, width=1200)

Random Mode

2. NLP Mode

For the NLP mode, x and y coordinates are provided arrays and are transformed and plotted in the bin. The mode is useful for displaying the similarity and disimilarity of research papers

figure = evidencegapmap(dataset=pd, x_column='x', y_column='y',xy_column='xy_column', bubble_column='title_column',bubble_text='bubbletext_column', bubble_link='bubblelink_column', time_column='publish_year', size_column='size_column', color_column='color_column',xbin_list=, ybin_list = , xbin_size=100, ybin_size = 100, x_title="X Axis Title", y_title="Y Axis Title", title='Evidence Gap Map for XYZ',scale_bubble=4, marker_opacity=0.8,height=900, width=1200)

NLP Mode

Usage in a Notebook & Example

Refer to this collab notebook for a basic working example with sample data

View an end to end working example here

Metadata

Release files for egm 1.1.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for egm 1.1.5
File Size Uploaded
egm-1.1.5.tar.gz 7.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for egm 1.1.5
File Interpreter ABI Platform
egm-1.1.5-py3-none-any.whl Python 3 none any Details

Total release size: 15.9 kB

Release files / egm-1.1.5.tar.gz

Download URL egm-1.1.5.tar.gz
Size 7.6 kB
Tags Source
SHA-256 checksum
How to use checksums
eab5944acedbb6aeacb91849a6cb436957bb10c1eb4bd2c9863401a216dd1d11
BLAKE2b-256 checksum
How to use checksums
2813752372730c4a8c9ff34fa5fa2e0a6cfc9f665c52866bc1f5ea33e973282b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3.post20200330 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.7.7

Release files / egm-1.1.5-py3-none-any.whl

Download URL egm-1.1.5-py3-none-any.whl
Size 8.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9459f34b5822011c7ac7aa5aacb5ea925c9fc20f26a872b2646952043bd5d562
BLAKE2b-256 checksum
How to use checksums
114e84fe9ea0550b607c8e77374ac04d9a4994655f6e13745571b41b792764c1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3.post20200330 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.7.7

Release history Release notifications | RSS feed

This release

1.1.5 This release

2 release files

1.1.4

2 release files

1.1.3

2 release files

1.1.2

2 release files

1.1.1

2 release files

1.1.0

2 release files

1.0.9

2 release files

1.0.8

2 release files

1.0.7

2 release files

1.0.6

2 release files

1.0.5

2 release files

1.0.4

2 release files

1.0.3

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0.0

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page