Excited to share the new 3.2 release!. This release comes with 8 new features added & 13 bug fixes.

For the detailed release info, please checkout the release note:

What’s New?

To make chart shape area have some padding to each side was possible, but the value wasn’t treated as pixel. The padding value was based on the x Axis type format, which means, when x Axis type is “timeseries”, the padding should be based on time value, and so on for other formats.

For example, giving left/right padding value to 1, in indexed axis type, will make a padding space based on the current chart tick space.

This approach make some complication, spacing shape based on the design guidelines, where all elements spacing based on pixel unit.

From this release, to facilitate padding in more easy way, introduced pixel unit. Simply add unit:'px' and done.

With the above option, will make left has 100px padding, and right has 50px padding.

As of ESM module introduced since v2, it needed load and specify shape modules correctly. If not specified, will throw error with required method isn't a function. (Ref. #2299)

This was problematic for user to figure out the cause, because the error log implies facing a bug, rather notifying to import corresponding module.

To get rid, enhance error logging for ESM import. By throwing error and give more informative message when module isn’t specified or load correctly.

The new tooltipMatch option for step types, will make tooltip appearance attached to the corresponding x tick’s position.

For example, when the option tooltipMatch=false, the tooltip appears in a near position, when the mouse pointer approaches.


when tooltipMatch=true, tooltip will appear when the mouse pointer is positioned over each tick position.


Thanks @ebencollins for the contribution on this feature!

CommonJS style and ESM where used to export modules within the package. This was some kind of band aid solution, because the standard way is exporting as ESM.

Currently, all modern browsers and runtime(Node.js), supports ESM natively, removing the necessity to bundle CJS. But the ecosystem third parties aren’t prepared yet for complete transition to ESM.

The main dependent D3.js already transitioned to pure ESM, and the dependent libraries are forced to follow that, so as the billboard.js.
To support both CJS/ESM environment, providing “Dual CommonJS/ESM” is a savior for us.

From the user perspective, there’s no need to make any changes. Simply import billboard.js modules as usual.

Sparkline plugin will make to generate multiple tiny charts from the single generation.

Demo: https://naver.github.io/billboard.js/demo/#Plugins.Sparkline

Generate the chart with multiple data series, and specify the use of sparkline plugin.

The new TableView plugin will generate table view from the given chart data series. It provides some simple options to control the visibility of the tables.

Demo: https://naver.github.io/billboard.js/demo/#Plugins.TableView

Allows for the subchart x axis tick format to be different from the x axis tick format of the primary chart.

If the option isn’t specified, it defaults to using the same format as the x axis.

The above option, will make subchart x axis’ tick text appear differently than the main x axis’ tick text.

subchart tick text format

Thanks @ebencollins for the contribution on this feature!

Pass position object argument to tooltip.position callback to facilitate tooltip position value control.

To control transition, transition.duration option is used specifying the corresponding duration value. But this didn’t applied on every occasions.

Because, from the codebase transition weren’t applied correctly at all. To remove the inconsistency, refactored across whole codebase where transition applies.

As a result, we could made to have consistent transition as follows.

Transition on prior v3.2(left), and v3.5(right)

What’s Next?

The planned next and last release for 2021 will be Dec. As always, we will be working to implement and enhance new functionality to bring ease data visualization on web platform.

Stay tuned for the next release!
See ya~ 😃

Front-end engineer at NAVER, creator of billboard.js