Change the package name to jpwrapper (and thus, the logo)
Remove the jp_dw_c19_annotation()
and jp_dw_scale_x()
functions
Remove the “dw” prefix from the functions to shorten the function names
Introduce jp_labs()
to modify chart labels, including alt text
Overhaul jp_theme()
to focus on nondata components of a chart. The function now implements new defaults, such as turning the chart subtitle text color into grey
Add “c” suffix to the jp_scale_y_c()
to make it clear that the function works on a y-axis with a continuous variable
Add a helper function to check chart compatibility with the functions. Compatible chart types are line, bar, column and scatter plots for now
Remove the main goal vignette
Inivisibily return the chart metadata after calling the functions
Change the expectations in unit testing from expecting the desired message to an object of dw_chart
class, namely the chart metadata
Remove the R Markdown template
Fixed the default value to set the upper limit of the y-axis with the max
parameter in the jp_dw_scale_y()
function.
Added num_ticks
argument to the jp_dw_scale_y()
function and removed the increment
argument.
Added an argument to round the y-axis limits.
Modified the R Markdown template's workflow and global chunk options.
Added a list consisting the first and last values of the variable mapped to the x-axis to be set as default axis limits.
Updated README.
Added the “dw” prefix to all function names to denote functions to work with Datawrapper charts.
Added jp_dw_scale_x()
function to modify x-axis tick format and draw an axis line.
Added a button to download charts as images by default.
Improved the workflow in the R Markdown template to produce Datawrapper charts.
Fixed the issue in jp_dw_c19_annotation()
function’s line type and width arguments.
Created a new logo.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.