Degree Plot#
>>> from techminer2.science_mapping.citation.network.organizations 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/organizations/degree_plot.html")
>>> plot.df_.head()
Node Name Degree
0 0 Federal Reserve Bank of Chicago (USA) 2:253 2
1 1 Federal Reserve Bank of Philadelphia (USA) 3:317 2
2 2 Max Planck Inst. for Innovation and Competitio... 1
3 3 Univ. of Zurich (CHE) 3:434 1
4 4 Pace Univ. (USA) 2:323 1
>>> print(plot.prompt_)
Your task is ...