Degree Plot¶
>>> from techminer2.science_mapping.citation.network.documents import degree_plot
>>> plot = degree_plot(
... #
... # COLUMN PARAMS:
... top_n=30,
... citations_threshold=0,
... #
... # 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/documents/degree_plot.html")
>>> plot.df_.head()
Node Name Degree
0 0 Hu Z., 2019, SYMMETRY, V11 1:176 7
1 1 Gomber P., 2017, J BUS ECON, V87, P537 1:489 4
2 2 Gomber P., 2018, J MANAGE INF SYST, V35, P220 ... 4
3 3 Alt R., 2018, ELECTRON MARK, V28, P235 1:150 4
4 4 Gozman D., 2018, J MANAGE INF SYST, V35, P145 ... 2
>>> print(plot.prompt_)
Your task is ...