renamed data to series
use accessor function instead of mapping to attributes
spec for histogram line chart to be present