Danfo.js currently supports Plotly.js for plotting. This means you have all the configuration, flexibility, and interactiveness of Plotly.
All customization on the plot can be passed in the config and layout parameter.
Config Parameter
The config parameter extends the Plotly.js config type. That is, all properties available to the Plotly config argument, are available. Alongside those arguments, Danfo.js uses some custom arguments which we list below:
Layout Parameter
The layout argument object is used to configure the overall display of a chart. See the full list of supported arguments
In the following example, we show how to set some basic configuration as well as layout for a line plot.