Taking the example from D3 Bar Chart
By default the data should have a 'Name' and 'Value' columns. The 'Value' should be numeric.
const data = alteryxData()
const getX = d => d.Name
const getY = d => d.Value
This section controls how the data is read from the Alteryx input. You can change the column names by adjusting the arrow functions