     a function to build the card
   ###
   sequence(
-    card_bind(type, tag, take_func = take_func),
-    with_div,
+    select_tag(tag)
+    with_div
     build_card(addf)
   )
 

    .attr('style', 'background-color: white;'))


take_data = (chart_data) ->
  ### Generate function to combine a Vega plot and its data

  Args:

    map(combine_data(chart_data)),
    map(update_data)
  )


build = (data, sim_name, codes_data, chart_data) ->
