Configuring dataViz in a method.