Package: tidycharts 0.1.3

Bartosz Sawicki

tidycharts: Generate Tidy Charts Inspired by 'IBCS'

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'.

Authors:Przemysław Biecek [aut], Piotr Piątyszek [aut], Kinga Ułasik [aut], Bartosz Sawicki [aut, cre]

tidycharts_0.1.3.tar.gz
tidycharts_0.1.3.zip(r-4.5)tidycharts_0.1.3.zip(r-4.4)tidycharts_0.1.3.zip(r-4.3)
tidycharts_0.1.3.tgz(r-4.4-any)tidycharts_0.1.3.tgz(r-4.3-any)
tidycharts_0.1.3.tar.gz(r-4.5-noble)tidycharts_0.1.3.tar.gz(r-4.4-noble)
tidycharts_0.1.3.tgz(r-4.4-emscripten)tidycharts_0.1.3.tgz(r-4.3-emscripten)
tidycharts.pdf |tidycharts.html
tidycharts/json (API)

# Install 'tidycharts' in R:
install.packages('tidycharts', repos = c('https://mi2datalab.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/mi2datalab/tidycharts/issues

On CRAN:

chartscleanibcsvisualization

5.23 score 5 stars 17 scripts 178 downloads 35 exports 59 dependencies

Last updated 3 years agofrom:9478275d2e. Checks:OK: 7. Indexed: yes.

TargetResultDate
Doc / VignettesOKOct 13 2024
R-4.5-winOKOct 13 2024
R-4.5-linuxOKOct 13 2024
R-4.4-winOKOct 13 2024
R-4.4-macOKOct 13 2024
R-4.3-winOKOct 13 2024
R-4.3-macOKOct 13 2024

Exports:add_titlebar_chartbar_chart_absolute_variancebar_chart_groupedbar_chart_normalizedbar_chart_referencebar_chart_relative_variancebar_chart_waterfallcolumn_chartcolumn_chart_absolute_variancecolumn_chart_groupedcolumn_chart_normalizedcolumn_chart_referencecolumn_chart_relative_variancecolumn_chart_waterfallcolumn_chart_waterfall_variancefacet_chartjoin_chartsline_chartline_chart_denseline_chart_dense_customline_chart_markersline_chart_markers_referenceline_chart_normalizedline_chart_stackedparse_time_seriesreset_marginsrestore_defaultsscatter_plotset_colorsset_marginsset_scatter_colorsset_stylesSVGrendererSVGsave

Dependencies:base64encbriobslibcachemcallrclicpp11crayoncurldescdiffobjdigestevaluatefansifastmapfontawesomefsgenericsgluehighrhtmltoolshtmlwidgetsjquerylibjsonliteknitrlifecyclelubridatemagickmagrittrmemoisemimepillarpkgbuildpkgconfigpkgloadpraiseprocessxpsR6rappdirsRcpprematch2rlangrmarkdownrprojrootrsvgsassstringistringrtestthattibbletimechangetinytexutf8vctrswaldowithrxfunyaml

Customizing the Package

Rendered fromcustomize-package.Rmdusingknitr::rmarkdownon Oct 13 2024.

Last update: 2022-01-17
Started: 2021-08-17

EDA-for-palmer-penguins-data-set

Rendered fromEDA-for-palmer-penguins-data-set.Rmdusingknitr::rmarkdownon Oct 13 2024.

Last update: 2021-08-30
Started: 2021-08-10

Getting Started

Rendered fromGetting_Started.Rmdusingknitr::rmarkdownon Oct 13 2024.

Last update: 2022-01-17
Started: 2021-08-09

Joining charts

Rendered fromjoin_charts.Rmdusingknitr::rmarkdownon Oct 13 2024.

Last update: 2021-08-26
Started: 2021-08-17

Readme and manuals

Help Manual

Help pageTopics
add bars to svg stringadd_bars
Add IBCS compliant legend.add_title
Add waterfall style bars to the column chartadd_waterfall_bars
Generates basic horizontal barchart. If more than one series is supplied, stacked barchart is generated.bar_chart
Generate bar chart with absolute variance.bar_chart_absolute_variance
Generates grouped horizontal barchart with scenario triangles.bar_chart_grouped
Generates normalized horizontal barchart. If more than one series is supplied, stacked barchart is generated.bar_chart_normalized
Generates basic horizontal barchart with index on a given value. If more than one series is supplied, stacked barchart is generated.bar_chart_reference
Generate bar chart with relative variance (in percents).bar_chart_relative_variance
Generate horizontal waterfall chart.bar_chart_waterfall
Generate basic column chart.column_chart
Generate column chart with absolute variance.column_chart_absolute_variance
Generate grouped column chart for visualizing up to 3 data series.column_chart_grouped
Generate column chart with normalization.column_chart_normalized
Generate column chart with reference line.column_chart_reference
Generate column chart with relative variance (in percents).column_chart_relative_variance
Generate column waterfall chart for visualizing contribution.column_chart_waterfall
Generate column waterfall chart with absolute variance.column_chart_waterfall_variance
Draw triangle and append it to svg stringdraw_triangle
Facet chart.facet_chart
Function to get bar/area color for stacked plots.get_color_stacked
Helper function to get the vector or column form df. If vector is passed it returns it. If name of column is passed, it returns the column as a vector.get_vector
Join SVG charts.join_charts
Printing in knitr reportsknit_print.tidychart
Generates a line plot with markers on chosen points. Allows only one point per time interval. To create a plot with many points within one time interval try `line_chart_dense`.line_chart
Line chart with more points then categories on x-axis.line_chart_dense
More customizable version of `line_chart_dense`. User can choose the points to highlight.line_chart_dense_custom
Generates line plot with markers on every value.line_chart_markers
Generates line plot with markers on every value with index on a given value.line_chart_markers_reference
Generates normalized areas (stacked lines) plot. If more than one series is supplied, stacked areas plot is generated.line_chart_normalized
Generates areas (stacked lines) plot. If more than one series is supplied, stacked areas plot is generated.line_chart_stacked
Function to transfer data frame with time series values in wide format to format accepted by `line_chart_dense_custom`.parse_time_series
Explicitly draw tidychartprint.tidychart
Reset margin values to package defaults.reset_margins
Restore default color and style settings.restore_defaults
Generates a scatter plot. If additional argument added, a bubble plot is generated.scatter_plot
Change default colors of the package.set_colors
Set margins size.set_margins
Change default colors of the scatter plots from the package.set_scatter_colors
Change default styles for plots.set_styles
Function to render SVG as bitmap, used only in testsshow
Calculate string width in pixelsstr_width
Function to render SVG image as htmlwidgetSVGrenderer
Save svg image.SVGsave