Degree Plot¶
>>> from techminer2.science_mapping.co_occurrence import degree_plot
>>> plot = degree_plot(
... #
... # PARAMS:
... field='author_keywords',
... #
... # COLUMN PARAMS:
... top_n=20,
... occ_range=(None, None),
... gc_range=(None, None),
... custom_items=None,
... #
... # NETWORK PARAMS:
... algorithm_or_dict="louvain",
... association_index="association",
... #
... # DEGREE PLOT:
... textfont_size=10,
... marker_size=7,
... line_color="black",
... line_width=1.5,
... yshift=4,
... #
... # DATABASE PARAMS:
... root_dir="example/",
... database="main",
... year_filter=(None, None),
... cited_by_filter=(None, None),
... )
>>> plot.fig_.write_html("sphinx/_static/analyze/co_occurrence/network/degree_plot.html")
>>> plot.df_.head()
Node Name Degree
0 0 FINTECH 31:5168 18
1 1 FINANCIAL_SERVICES 04:0667 7
2 2 INNOVATION 07:0911 6
3 3 TECHNOLOGY 02:0310 5
4 4 FINANCE 02:0309 5
>>> print(plot.prompt_)
Your task is ...