Degree Plot¶
>>> from techminer2.science_mapping.citation.network.sources import degree_plot
>>> plot = degree_plot(
... #
... # COLUMN PARAMS:
... top_n=30,
... citations_threshold=0,
... occurrence_threshold=2,
... custom_items=None,
... #
... # NETWORK PARAMS:
... algorithm_or_dict="louvain",
... #
... # 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/citation/network/sources/degree_plot.html")
>>> plot.df_.head()
Node Name Degree
0 0 J Manage Inf Syst 2:696 3
1 1 J. Econ. Bus. 3:422 3
2 2 Electron. Mark. 2:287 1
3 3 Financ. Manage. 2:161 1
4 4 Ind Manage Data Sys 2:386 1
>>> print(plot.prompt_)
Your task is ...