<commit_before>render = ->
  width       = $('#master-map').width()
  height      = 1200
  projection  = d3.geo.albersUsa().scale(1).translate [ 0, 0 ]
  path        = d3.geo.path().projection(projection)
  fill        = d3.scale.log().clamp(true).range ['#111', '#00ff00']
  starCount   = 'total'
  zoomGroup   = null
  colors      = ['#a634f4', '#f1f42f', '#bcf020', '#eeb016', '#ec180c']

  # Main objects
  recruits = null
  schools  = null
  counties = null
  states   = null

  tip = d3.tip().attr('class', 'd3-tip').offset([-10, 0]).html (d) ->
    if d.properties?
      p = d.properties
      name = if /county/i.test(p.name) then p.name else "#{p.name} County"
      "<h3>#{name}</h3><p><strong>#{p[starCount] || 0}</strong> athletes.</p>"
    else if d.weight?
      "<h3>#{d.stars} &star; #{d.name} - #{d.year}</h3><p>#{d.weight}lb #{d.position} from #{d.school} in #{d.location}"
    else
      "<h3>#{d.team}</h3><p>#{d.stadium} in #{d.city}, #{d.state}</p>"

  map = d3.select('#master-map').append('svg')
    .attr('width', width)
    .attr('height', height)
    .call(tip)
<commit_msg>tweak colors and height<commit_after>render = ->
  width       = $('#master-map').width()
  height      = 1000
  projection  = d3.geo.albersUsa().scale(1).translate [ 0, 0 ]
  path        = d3.geo.path().projection(projection)
  fill        = d3.scale.log().clamp(true).range ['#111', '#00ff00']
  starCount   = 'total'
  zoomGroup   = null
  colors      = ['#a634f4', '#5adacc', '#bcf020', '#eeb016', '#ec180c']

  # Main objects
  recruits = null
  schools  = null
  counties = null
  states   = null

  tip = d3.tip().attr('class', 'd3-tip').offset([-10, 0]).html (d) ->
    if d.properties?
      p = d.properties
      name = if /county/i.test(p.name) then p.name else "#{p.name} County"
      "<h3>#{name}</h3><p><strong>#{p[starCount] || 0}</strong> athletes.</p>"
    else if d.weight?
      "<h3>#{d.stars} &star; #{d.name} - #{d.year}</h3><p>#{d.weight}lb #{d.position} from #{d.school} in #{d.location}"
    else
      "<h3>#{d.team}</h3><p>#{d.stadium} in #{d.city}, #{d.state}</p>"

  map = d3.select('#master-map').append('svg')
    .attr('width', width)
    .attr('height', height)
    .call(tip)

{'fraction_non_alphanumeric': 0.23215898825654924, 'fraction_numerical': 0.04065040650406504, 'mean_word_length': 2.8859649122807016, 'pattern_counts': {'":': 0, '<': 29, '<?xml version=': 0, '>': 33, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7303395', 'n_tokens_mistral': 906, 'n_tokens_neox': 878, 'n_words': 161}