tidycharts0.1.3 package

Generate Tidy Charts Inspired by 'IBCS'

add_bars

add bars to svg string

add_title

Add IBCS compliant legend.

add_waterfall_bars

Add waterfall style bars to the column chart

bar_chart

Generates basic horizontal barchart. If more than one series is suppli...

bar_chart_absolute_variance

Generate bar chart with absolute variance.

bar_chart_grouped

Generates grouped horizontal barchart with scenario triangles.

bar_chart_normalized

Generates normalized horizontal barchart. If more than one series is s...

bar_chart_reference

Generates basic horizontal barchart with index on a given value. If mo...

bar_chart_relative_variance

Generate bar chart with relative variance (in percents).

bar_chart_waterfall

Generate horizontal waterfall chart.

column_chart

Generate basic column chart.

column_chart_absolute_variance

Generate column chart with absolute variance.

column_chart_grouped

Generate grouped column chart for visualizing up to 3 data series.

column_chart_normalized

Generate column chart with normalization.

column_chart_reference

Generate column chart with reference line.

column_chart_relative_variance

Generate column chart with relative variance (in percents).

column_chart_waterfall

Generate column waterfall chart for visualizing contribution.

column_chart_waterfall_variance

Generate column waterfall chart with absolute variance.

draw_triangle

Draw triangle and append it to svg string

facet_chart

Facet chart.

get_color_stacked

Function to get bar/area color for stacked plots.

get_vector

Helper function to get the vector or column form df. If vector is pass...

join_charts

Join SVG charts.

knit_print.tidychart

Printing in knitr reports

line_chart

Generates a line plot with markers on chosen points. Allows only one p...

line_chart_dense

Line chart with more points then categories on x-axis.

line_chart_dense_custom

More customizable version of line_chart_dense. User can choose the p...

line_chart_markers

Generates line plot with markers on every value.

line_chart_markers_reference

Generates line plot with markers on every value with index on a given ...

line_chart_normalized

Generates normalized areas (stacked lines) plot. If more than one seri...

line_chart_stacked

Generates areas (stacked lines) plot. If more than one series is suppl...

parse_time_series

Function to transfer data frame with time series values in wide format...

print.tidychart

Explicitly draw tidychart

reset_margins

Reset margin values to package defaults.

restore_defaults

Restore default color and style settings.

scatter_plot

Generates a scatter plot. If additional argument added, a bubble plot ...

set_colors

Change default colors of the package.

set_margins

Set margins size.

set_scatter_colors

Change default colors of the scatter plots from the package.

set_styles

Change default styles for plots.

show

Function to render SVG as bitmap, used only in tests

str_width

Calculate string width in pixels

SVGrenderer

Function to render SVG image as htmlwidget

SVGsave

Save svg image.

There is a wide range of R packages created for data visualization, but still, there was no simple and easily accessible way to create clean and transparent charts - up to now. The 'tidycharts' package enables the user to generate charts compliant with International Business Communication Standards ('IBCS'). It means unified bar widths, colors, chart sizes, etc. Creating homogeneous reports has never been that easy! Additionally, users can apply semantic notation to indicate different data scenarios (plan, budget, forecast). What's more, it is possible to customize the charts by creating a personal color pallet with the possibility of switching to default options after the experiments. We wanted the package to be helpful in writing reports, so we also made joining charts in a one, clear image possible. All charts are generated in SVG format and can be shown in the 'RStudio' viewer pane or exported to HTML output of 'knitr'/'markdown'.

  • Maintainer: Bartosz Sawicki
  • License: GPL (>= 3)
  • Last published: 2022-01-18