Bar ChartΒΆ

Example

>>> from techminer2.database.metrics.trending_terms_by_year.user import BarChart
>>> # Create, configure, and run the plotter
>>> plotter = (
...     BarChart()
...     #
...     # FIELD:
...     .with_field("raw_author_keywords")
...     .having_terms_per_year(5)
...     .having_terms_in(None)
...     #
...     # DATABASE:
...     .where_root_directory_is("example/")
...     .where_database_is("main")
...     .where_record_years_range_is(None, None)
...     .where_record_citations_range_is(None, None)
...     .where_records_match(None)
... )
>>> plot = plotter.run()
>>> plot.write_html("docs_source/_generated/px.database.metrics.ternding_terms_by_year.user.bar_chart.html")