Degree Plot¶
>>> from techminer2.science_mapping.citation.network.countries 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/countries/degree_plot.html")
>>> plot.df_.head()
Node Name Degree
0 0 Germany 07:1814 9
1 1 China 08:1085 9
2 2 United States 16:3189 8
3 3 South Korea 06:1192 6
4 4 United Kingdom 03:0636 6
>>> print(plot.prompt_)
Your task is ...